mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-08-31 19:28:18 +00:00
chore: Fixing warning on Net Standard
This commit is contained in:
parent
4174ed2e1f
commit
342ac4ebca
1 changed files with 5 additions and 1 deletions
|
|
@ -940,7 +940,11 @@ namespace ICD.Common.Utils.Globalization
|
||||||
return cultureInfo;
|
return cultureInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CultureInfo[] GetCultures(CultureTypes types)
|
public
|
||||||
|
#if !SIMPLSHARP
|
||||||
|
new
|
||||||
|
#endif
|
||||||
|
static CultureInfo[] GetCultures(CultureTypes types)
|
||||||
{
|
{
|
||||||
return s_DictAvailableCulturesByName.Where(de => (de.Value & types) != 0)
|
return s_DictAvailableCulturesByName.Where(de => (de.Value & types) != 0)
|
||||||
.Select(de => new IcdCultureInfo(de.Key))
|
.Select(de => new IcdCultureInfo(de.Key))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue