Change type of EnumLocaleData to struct (dotnet/coreclr#19193)
authorJan Kotas <jkotas@microsoft.com>
Mon, 30 Jul 2018 14:16:11 +0000 (07:16 -0700)
committerGitHub <noreply@github.com>
Mon, 30 Jul 2018 14:16:11 +0000 (07:16 -0700)
commit7acd7b2de09512c29e47d3cbe189189e5bcb8cce
treebe2a41df06a25c63463905b57778487812374e19
parentda93f5ad3aac83afeb249941e0ca9629b1903bfa
Change type of EnumLocaleData to struct (dotnet/coreclr#19193)

Saves allocation and makes the code smaller. It had to be class before we had ref locals.

Commit migrated from https://github.com/dotnet/coreclr/commit/ba54b408472d7a4ded3c144d7c4791b991d58454
src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.Windows.cs