Copy CoreFX environment variable code (dotnet/coreclr#8405)
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>
Mon, 5 Dec 2016 22:42:51 +0000 (14:42 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2016 22:42:51 +0000 (14:42 -0800)
commitc552b65f15ecada86bf6bffdad08d321d50dedc3
treec2b4bc18449808299b43da97b9f6e974321db828
parentacee92f93f72cb46fdc680f2421c41e4225b2eaf
Copy CoreFX environment variable code (dotnet/coreclr#8405)

Tweak the core code to match up with what we had done in CoreFX and expose
so that we can have a single source of environment truth. This is
particularly important for Unix as we use a local copy of the state.

Commit migrated from https://github.com/dotnet/coreclr/commit/e06afa73cc284c6659a03eb475eb426d08938e77
src/coreclr/src/mscorlib/model.xml
src/coreclr/src/mscorlib/mscorlib.shared.sources.props
src/coreclr/src/mscorlib/src/Internal/Runtime/Augments/EnvironmentAugments.cs
src/coreclr/src/mscorlib/src/System/Environment.Unix.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Environment.Win32.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/src/System/Environment.cs