Move Used interop sources into shared folder (dotnet/coreclr#9840)
authorAlex Perovich <alperovi@microsoft.com>
Tue, 28 Feb 2017 02:54:54 +0000 (20:54 -0600)
committerJan Kotas <jkotas@microsoft.com>
Tue, 28 Feb 2017 02:54:54 +0000 (18:54 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/6e32dcdda32b76b1767d55042c3a347c5fdbe8e3

51 files changed:
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/shared/Interop/Unix/Interop.Errors.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/Interop.Errors.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/Interop.IOErrors.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/Interop.IOErrors.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/Interop.Libraries.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/Interop.Libraries.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Close.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Close.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.FLock.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.FLock.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.FSync.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.FSync.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.FTruncate.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.GetCwd.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.GetUnixName.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.LSeek.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.LSeek.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Open.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Open.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.OpenFlags.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.PathConf.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.PathConf.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Permissions.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Permissions.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.PosixFAdvise.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Read.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Read.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Stat.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Stat.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Unlink.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Unlink.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.Write.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Write.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/BCrypt/Interop.NTSTATUS.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Interop.BOOL.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/Interop.BOOL.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Interop.Errors.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/Interop.Errors.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Interop.Libraries.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/Interop.Libraries.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.CancelIoEx.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.CloseHandle.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.FileOperations.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FileOperations.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FileTypes.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FlushFileBuffers.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.FormatMessage.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFileInformationByHandleEx.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFileType_SafeHandle.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetFullPathNameW.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetLongPathNameW.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetTempFileNameW.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.GetTempPathW.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.LockFile.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SECURITY_ATTRIBUTES.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SafeCreateFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SafeCreateFile.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SecurityOptions.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetEndOfFile.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SetErrorMode.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetErrorMode.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.SetFilePointerEx.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.UnsafeCreateFile.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.UnsafeCreateFile.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs [moved from src/coreclr/src/mscorlib/corefx/Interop/Windows/kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.sources

index f5d9817..dc935ef 100644 (file)
   </ItemGroup>
   <ItemGroup Condition="'$(TargetsUnix)' != 'true'">
     <MscorlibSources Include="$(CoreFxSourcesRoot)\System\HResults.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\Interop.BOOL.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\Interop.Errors.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\Interop.Libraries.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\BCrypt\Interop.BCryptGenRandom.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\BCrypt\Interop.NTSTATUS.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.CancelIoEx.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.CloseHandle.cs" />
     <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.CreateFile.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.FileTypes.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.FileOperations.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.FlushFileBuffers.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.FormatMessage.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetFileInformationByHandleEx.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetFileType_SafeHandle.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetFullPathNameW.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetLongPathNameW.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetTempFileNameW.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.GetTempPathW.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.LockFile.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.ReadFile_SafeHandle_IntPtr.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.ReadFile_SafeHandle_NativeOverlapped.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SafeCreateFile.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SECURITY_ATTRIBUTES.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SecurityOptions.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SetEndOfFile.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SetErrorMode.cs" />
     <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SetFileInformationByHandle.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.SetFilePointerEx.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.UnsafeCreateFile.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.WriteFile_SafeHandle_IntPtr.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Windows\kernel32\Interop.WriteFile_SafeHandle_NativeOverlapped.cs" />
   </ItemGroup>
   <ItemGroup>
     <MscorlibSources Include="$(CoreFxSourcesRoot)\System\Security\SecureString.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetsUnix)' == 'true'">
     <MscorlibSources Include="$(CoreFxSourcesRoot)\System\HResults.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\Interop.Errors.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\Interop.IOErrors.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\Interop.Libraries.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Close.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.GetCwd.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.GetUnixName.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Fcntl.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.FLock.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.FSync.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.FTruncate.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.LSeek.cs" />
     <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.MksTemps.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Open.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.OpenFlags.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.PathConf.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Permissions.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.PosixFAdvise.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Read.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Stat.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Unlink.cs" />
-    <MscorlibSources Include="$(CoreFxSourcesRoot)\Interop\Unix\System.Native\Interop.Write.cs" />
   </ItemGroup>
   <ItemGroup>
     <MscorlibSources Include="$(CoreFxSourcesRoot)\Debug.cs" />
index 211b25e..c6fdba9 100644 (file)
@@ -5,6 +5,59 @@
     <TargetsUnix Condition="'$(TargetsUnix)' != 'true'">false</TargetsUnix>
     <TargetsOSX Condition="'$(TargetsOSX)' != 'true'">false</TargetsOSX>
   </PropertyGroup>
+  <ItemGroup Condition="$(TargetsWindows)">
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Interop.BOOL.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Interop.Errors.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Interop.Libraries.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\BCrypt\Interop.BCryptGenRandom.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\BCrypt\Interop.NTSTATUS.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.CancelIoEx.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.CloseHandle.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.FileOperations.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.FileTypes.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.FlushFileBuffers.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.FormatMessage.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetFileInformationByHandleEx.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetFileType_SafeHandle.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetFullPathNameW.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetLongPathNameW.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetTempFileNameW.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.GetTempPathW.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.LockFile.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.ReadFile_SafeHandle_IntPtr.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.ReadFile_SafeHandle_NativeOverlapped.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SafeCreateFile.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SecurityOptions.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SECURITY_ATTRIBUTES.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SetEndOfFile.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SetErrorMode.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.SetFilePointerEx.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.UnsafeCreateFile.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.WriteFile_SafeHandle_IntPtr.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Windows\Kernel32\Interop.WriteFile_SafeHandle_NativeOverlapped.cs"/>
+  </ItemGroup>
+  <ItemGroup Condition="$(TargetsUnix)">
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\Interop.Errors.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\Interop.IOErrors.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\Interop.Libraries.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Close.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.FLock.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.FSync.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.FTruncate.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.GetCwd.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.GetUnixName.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.LockFileRegion.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.LSeek.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Open.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.OpenFlags.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.PathConf.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Permissions.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.PosixFAdvise.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Read.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Stat.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Unlink.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)\Interop\Unix\System.Native\Interop.Write.cs"/>
+  </ItemGroup>
   <ItemGroup>
     <Compile Include="$(MSBuildThisFileDirectory)\System\Buffers\ArrayPool.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)\System\Buffers\ArrayPoolEventSource.cs"/>