Fix CompareInfo.Version on Windows (#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)
commit660a3e67071e0273eaffe44cf08b72ed675c3ddc
tree71a2029fe459ad6d1c177a922829d31d3cf6bf57
parentd055dcf991a0a24d6c9542cf0f1e5d69e7403205
Fix CompareInfo.Version on Windows (#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.
src/mscorlib/src/System/Globalization/CompareInfo.Windows.cs