Move DateTime to shared partition (dotnet/coreclr#10460)
authorAlex Perovich <alperovi@microsoft.com>
Sat, 25 Mar 2017 04:10:49 +0000 (23:10 -0500)
committerGitHub <noreply@github.com>
Sat, 25 Mar 2017 04:10:49 +0000 (23:10 -0500)
commit9c4d7b273f867d370c87adedcdf7646de724fbcc
tree4d862b09aeae8c6fd410eaf0317b7296b5739fbb
parentff670350aa99eef41a965cda4484df27df9ac441
Move DateTime to shared partition (dotnet/coreclr#10460)

* Move DateTime to shared partition

Depends on dotnet/corefxdotnet/coreclr#17484

* Use CoreCLR specific impl of UtcNow on windows

* Use the internal call on unix as well

* Port good corert changes

Commit migrated from https://github.com/dotnet/coreclr/commit/92b6ab81670b3e284a58dd282098ce782aed7617
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/coreclr/src/mscorlib/shared/System/DateTime.cs [moved from src/coreclr/src/mscorlib/src/System/DateTime.cs with 96% similarity]
src/coreclr/src/mscorlib/src/System/DateTime.CoreCLR.cs [new file with mode: 0644]