Move CultureInfo to shared CoreLib (#21672)
authorFilip Navara <filip.navara@gmail.com>
Sat, 29 Dec 2018 14:00:31 +0000 (14:00 +0000)
committerJan Kotas <jkotas@microsoft.com>
Sat, 29 Dec 2018 14:00:31 +0000 (04:00 -1000)
commit705430bff281bd8fa1215967c80968127ea32019
tree7fb33840cd83189b55fb377ad6e06a126665566f
parent285495cad655b0fee7de83420deefab041aa38d8
Move CultureInfo to shared CoreLib (#21672)

* Move thread CurrentCulture and CurrentUICulture variables to CultureInfo.

* Move CultureInfo to shared CoreLib

* Code style fixes for consistency.

* Fold down APPX code into CultureInfo.CurrentCulture/CurrentUICulture.

* Remove unnecessary parentheses around return statements.

* Remove GetCurrentUICultureNoAppX.
13 files changed:
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs [moved from src/System.Private.CoreLib/src/System/Globalization/CultureInfo.cs with 81% similarity]
src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs
src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs
src/System.Private.CoreLib/src/System/Globalization/CultureInfo.Unix.cs [deleted file]
src/System.Private.CoreLib/src/System/Globalization/CultureInfo.Windows.cs [deleted file]
src/System.Private.CoreLib/src/System/Threading/Thread.cs
src/vm/mscorlib.h
src/vm/object.h
src/vm/threads.cpp