Move DateTime Windows implementation to shared CoreLib (#23888)
commitb672c05ad0462ae1808bf7e7d1523f772458b37f
authorFilip Navara <filip.navara@gmail.com>
Sat, 13 Apr 2019 15:17:04 +0000 (13 17:17 +0200)
committerMarek Safar <marek.safar@gmail.com>
Sun, 14 Apr 2019 13:54:18 +0000 (14 15:54 +0200)
tree205ac8cfc70e7f1e3aae9f784b06163cb3f5f3b1
parent13183af5c3dd5d6983fc15cfef53bf1da917c00d
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

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
13 files changed:
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs [moved from netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/NtQueryInformationFile.cs with 100% similarity]
netcore/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
netcore/System.Private.CoreLib/shared/System/DateTime.Unix.cs
netcore/System.Private.CoreLib/shared/System/DateTime.Win32.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/System/DateTime.WinRT.cs [new file with mode: 0644]
netcore/System.Private.CoreLib/shared/System/DateTime.Windows.cs [new file with mode: 0644]