Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Change type of EnumLocaleData to struct (dotnet/coreclr#19193)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jkotas committed Jul 30, 2018
1 parent 8af564a commit c1bc9ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ private static int ConvertFirstDayOfWeekMonToSun(int iTemp)


// Context for EnumCalendarInfoExEx callback.
private class EnumLocaleData
private struct EnumLocaleData
{
public string regionName;
public string cultureName;
Expand Down

0 comments on commit c1bc9ea

Please sign in to comment.