Move DateTime Windows implementation to shared CoreLib (#23888)
authorFilip Navara <filip.navara@gmail.com>
Sat, 13 Apr 2019 15:17:04 +0000 (17:17 +0200)
committerJan Kotas <jkotas@microsoft.com>
Sat, 13 Apr 2019 15:17:04 +0000 (08:17 -0700)
commit3b2715e14a1a6a4726b557ac37246f91182517cd
tree57e90f6069482fd9ed69943a5a15e0371f21b78e
parent58d9cf157f54e8fd61eaaf56b3f8045075d171cd
Move DateTime Windows implementation to shared CoreLib (#23888)

* Move DateTime Windows implementation to shared CoreLib

* Make all the BOOL/struct marshalling explicit

* internal -> private

* Use unsafe code on all layers, remove unnecessary fixed blocks
16 files changed:
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs [moved from src/System.Private.CoreLib/shared/Interop/Windows/NtDll/NtQueryInformationFile.cs with 100% similarity]
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/DateTime.Unix.cs
src/System.Private.CoreLib/shared/System/DateTime.Win32.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs [new file with mode: 0644]
src/System.Private.CoreLib/shared/System/DateTime.Windows.cs [new file with mode: 0644]
src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs [new file with mode: 0644]
src/System.Private.CoreLib/src/System/DateTime.Windows.cs [deleted file]