Avoid creating zh-CHS/zh-CHT durng culture enumeration
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 7 Sep 2016 01:33:41 +0000 (18:33 -0700)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 7 Sep 2016 02:07:33 +0000 (19:07 -0700)
commit61e1caacf2a0129514482317784ce38ed6126032
treee57da9ae118852d9f1f4175f66fc73ad41f96dff
parentb22cfaccee4622c5d0d560f6b15babe08d1c579d
Avoid creating zh-CHS/zh-CHT durng culture enumeration

zh-CHS and zh-CHT are old names that is not really supported in the standards.
when we enabled CultureInfo.GetCultures() there was some code that create cultures
for zh-CHS and zh-CHT. The fix here is disable that otherwise we'll have to enable
a good chunk of legacy code to support it while it never supported by coreclr and in
same time are not names used in standards

Commit migrated from https://github.com/dotnet/coreclr/commit/7ac54bcc7fc17792e283da809e72b44ae8da02a4
src/coreclr/src/mscorlib/src/System/Globalization/CompareInfo.cs
src/coreclr/src/mscorlib/src/System/Globalization/CultureData.cs