Move TimeZoneInfo.Unix.cs to shared CoreLib partition (#16057)
authorJan Kotas <jkotas@microsoft.com>
Mon, 29 Jan 2018 23:22:01 +0000 (15:22 -0800)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2018 23:22:01 +0000 (15:22 -0800)
commitb29f6328510207970763580d6f4db864e4b198af
tree3ce16eef93b0db5bcb72617bdb15e4e185c760f6
parentb02961001f1978437f7bd5ba7c6d9a2c3da3c088
Move TimeZoneInfo.Unix.cs to shared CoreLib partition (#16057)

- Refactored internal version of System.IO.File to be similar to full corefx version
- Cleaned up some Unix PAL APIs that are no longer used

Contributes to dotnet/corert#5248
23 files changed:
src/dlls/mscoree/mscorwks_unixexports.src
src/mscorlib/System.Private.CoreLib.csproj
src/mscorlib/shared/Internal/IO/File.Unix.cs [new file with mode: 0644]
src/mscorlib/shared/Internal/IO/File.Windows.cs [new file with mode: 0644]
src/mscorlib/shared/Internal/IO/File.cs [new file with mode: 0644]
src/mscorlib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs [new file with mode: 0644]
src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetFileAttributesEx.cs
src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeDirectoryHandle.Unix.cs [new file with mode: 0644]
src/mscorlib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs [moved from src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeFindHandle.cs with 69% similarity]
src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/mscorlib/shared/System/TimeZoneInfo.Unix.cs [moved from src/mscorlib/src/System/TimeZoneInfo.Unix.cs with 94% similarity]
src/mscorlib/src/Microsoft/Win32/RegistryKey.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs
src/mscorlib/src/Microsoft/Win32/Win32Native.cs
src/mscorlib/src/System/Environment.cs
src/mscorlib/src/System/IO/Directory.cs [deleted file]
src/mscorlib/src/System/IO/File.cs [deleted file]
src/mscorlib/src/System/IO/FileSystemEnumerable.cs [deleted file]
src/mscorlib/src/System/Resources/FileBasedResourceGroveler.cs
src/mscorlib/src/System/Resources/ManifestBasedResourceGroveler.cs
src/mscorlib/src/System/Threading/EventWaitHandle.cs
src/mscorlib/src/System/Threading/Mutex.cs
src/mscorlib/src/System/Threading/Semaphore.cs