From: Stephen Toub Date: Wed, 30 Jan 2019 21:22:27 +0000 (-0500) Subject: Switch CoreLib over to using shared Environment from corefx (dotnet/coreclr#22106) X-Git-Tag: submit/tizen/20210909.063632~11030^2~2654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4aaf6434fc67820739c226e622a533a898fcc7b;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Switch CoreLib over to using shared Environment from corefx (dotnet/coreclr#22106) This requires merging/adapting the implementation with EnvironmentAugments (which goes away completely), the shared files, what corert has, etc. Commit migrated from https://github.com/dotnet/coreclr/commit/91e1ffccc38fc87f6f496eb056396a1b775f08af --- diff --git a/src/coreclr/src/System.Private.CoreLib/Resources/Strings.resx b/src/coreclr/src/System.Private.CoreLib/Resources/Strings.resx index 98a3d9e..6800d8e 100644 --- a/src/coreclr/src/System.Private.CoreLib/Resources/Strings.resx +++ b/src/coreclr/src/System.Private.CoreLib/Resources/Strings.resx @@ -496,6 +496,9 @@ Object must be of type Double. + + Drive name must be a root directory (i.e. 'C:\') or a drive letter ('C'). + Type provided must be an Enum. @@ -2464,6 +2467,9 @@ A prior operation on this collection was interrupted by an exception. Collection's state is no longer trusted. + + Computer name could not be obtained. + Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct. @@ -3190,6 +3196,9 @@ Precondition failed: {0} + + The home directory of the current user could not be determined. + Only single dimension arrays are supported here. diff --git a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj index db83064..d8bde72 100644 --- a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj +++ b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj @@ -160,7 +160,7 @@ - + @@ -371,7 +371,6 @@ -