Fix CompareInfo.Version on Windows (dotnet/coreclr#12330)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Fri, 16 Jun 2017 22:53:03 +0000 (15:53 -0700)
committerGitHub <noreply@github.com>
Fri, 16 Jun 2017 22:53:03 +0000 (15:53 -0700)
commit120a406e3deb1e9c882b3644e5ab0235181aaaf4
tree56daafe287c92b1cbaf67f76783e6e3ad1b9c143
parent88765f967d23f6c29de478428cab1285e0912ece
Fix CompareInfo.Version on Windows (dotnet/coreclr#12330)

We call Windows to get the sort version. We call Windows passing the structure NlsVersionInfoEx but Windows expect we have to initialize the size of this structure which we are missing.

Commit migrated from https://github.com/dotnet/coreclr/commit/660a3e67071e0273eaffe44cf08b72ed675c3ddc
src/coreclr/src/mscorlib/src/System/Globalization/CompareInfo.Windows.cs