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)
commit7ac54bcc7fc17792e283da809e72b44ae8da02a4
treeedf3957c2d732a322f9a5f1eb64221a9972a3f25
parent2142296ed4d866f0a6afbf20e4858b6310be5226
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
src/mscorlib/src/System/Globalization/CompareInfo.cs
src/mscorlib/src/System/Globalization/CultureData.cs