37 references to CultureTypes
mscorlib (32)
system\diagnostics\eventing\eventsource.cs (1)
6603
foreach (CultureInfo ci in CultureInfo.GetCultures(
CultureTypes
.SpecificCultures /*| CultureTypes.NeutralCultures*/))
system\globalization\culturedata.cs (18)
964
internal static CultureInfo[] GetCultures(
CultureTypes
types)
969
if ((int)types <= 0 || ((int)types & (int)~(
CultureTypes
.NeutralCultures |
CultureTypes
.SpecificCultures |
970
CultureTypes
.InstalledWin32Cultures |
CultureTypes
.UserCustomCulture |
971
CultureTypes
.ReplacementCultures |
CultureTypes
.WindowsOnlyCultures |
972
CultureTypes
.FrameworkCultures)) != 0)
978
Environment.GetResourceString("ArgumentOutOfRange_Range"),
CultureTypes
.NeutralCultures,
CultureTypes
.FrameworkCultures));
990
if ((types &
CultureTypes
.WindowsOnlyCultures) != 0)
993
types &= (~
CultureTypes
.WindowsOnlyCultures);
1014
if ((types & (
CultureTypes
.NeutralCultures |
CultureTypes
.FrameworkCultures)) != 0) // add zh-CHT and zh-CHS
1026
if ((types & (
CultureTypes
.NeutralCultures |
CultureTypes
.FrameworkCultures)) != 0) // add zh-CHT and zh-CHS
1045
specificCultures = GetCultures(
CultureTypes
.SpecificCultures);
1078
if (nativeEnumCultureNames((int)
CultureTypes
.ReplacementCultures, JitHelpers.GetObjectHandleOnStack(ref replacementCultureNames)) == 0)
system\globalization\cultureinfo.cs (13)
1048
public static CultureInfo[] GetCultures(
CultureTypes
types) {
1052
if((types &
CultureTypes
.UserCustomCulture) ==
CultureTypes
.UserCustomCulture)
1054
types |=
CultureTypes
.ReplacementCultures;
1383
public
CultureTypes
CultureTypes
1387
CultureTypes
types = 0;
1390
types |=
CultureTypes
.NeutralCultures;
1392
types |=
CultureTypes
.SpecificCultures;
1394
types |= m_cultureData.IsWin32Installed ?
CultureTypes
.InstalledWin32Cultures : 0;
1398
types |= m_cultureData.IsFramework ?
CultureTypes
.FrameworkCultures : 0;
1401
types |= m_cultureData.IsSupplementalCustomCulture ?
CultureTypes
.UserCustomCulture : 0;
1402
types |= m_cultureData.IsReplacementCulture ?
CultureTypes
.ReplacementCultures |
CultureTypes
.UserCustomCulture : 0;
System (3)
compmod\system\componentmodel\CultureInfoConverter.cs (2)
213
CultureInfo[] installedCultures = CultureInfo.GetCultures(
CultureTypes
.SpecificCultures |
CultureTypes
.NeutralCultures);
compmod\system\componentmodel\MaskedTextProvider.cs (1)
267
foreach (CultureInfo tempCulture in CultureInfo.GetCultures(
CultureTypes
.SpecificCultures))
System.Web (1)
UI\Util.cs (1)
1549
CultureInfo[] cultures = CultureInfo.GetCultures(
CultureTypes
.SpecificCultures);
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1277
CultureInfo[] cultureInfos = CultureInfo.GetCultures(
CultureTypes
.AllCultures);