Remove unused argument from GetRegionDisplayName (dotnet/coreclr#27806)
authorStephen Toub <stoub@microsoft.com>
Mon, 11 Nov 2019 08:17:26 +0000 (03:17 -0500)
committerJan Kotas <jkotas@microsoft.com>
Mon, 11 Nov 2019 08:17:26 +0000 (09:17 +0100)
commitae4cd8078096d1f83bd76d576555c8511ba6cd1e
tree64a21123edceafb90a03e9fa95b3405d8fd8709c
parentbc822209741fc73b8daf4a67ad85485df99816b8
Remove unused argument from GetRegionDisplayName (dotnet/coreclr#27806)

* Remove unused argument from GetRegionDisplayName

* Address race conditions in CultureData

While most of the race conditions in this file are benign, in these cases, a thread could end up returning an intermediate value due to multiple potential writes to the same field.

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