chore: Fixing warning on Net Standard

This commit is contained in:
Chris Cameron
2021-01-07 12:09:21 -05:00
parent 4174ed2e1f
commit 342ac4ebca

View File

@@ -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))