Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-07-30 17:16:11 +0300
committerJan Kotas <jkotas@microsoft.com>2018-07-30 22:32:04 +0300
commitb7ea3897c635e746573a6ff50bf2f2a54be16126 (patch)
tree72e4e32f80c270b1fe8a49717fc19207839025e4 /src/System.Private.CoreLib/shared
parent65b42e1a53ce1f9f94fe128f64168c5bf89b1da9 (diff)
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. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared')
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
index 393f983bb..75f78620d 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
@@ -517,7 +517,7 @@ namespace System.Globalization
// Context for EnumCalendarInfoExEx callback.
- private class EnumLocaleData
+ private struct EnumLocaleData
{
public string regionName;
public string cultureName;