public static CultureInfo[] GetCultures(System.Globalization.CultureTypes types)
 {
     if ((types & System.Globalization.CultureTypes.UserCustomCulture) == System.Globalization.CultureTypes.UserCustomCulture)
     {
         types |= System.Globalization.CultureTypes.ReplacementCultures;
     }
     return(CultureData.GetCultures(types));
 }
Exemple #2
0
 public static CultureInfo[] GetCultures(CultureTypes types)
 {
     // internally we treat UserCustomCultures as Supplementals but v2
     // treats as Supplementals and Replacements
     if ((types & CultureTypes.UserCustomCulture) == CultureTypes.UserCustomCulture)
     {
         types |= CultureTypes.ReplacementCultures;
     }
     return(CultureData.GetCultures(types));
 }