Delete unused files (#40889)
authorJan Kotas <jkotas@microsoft.com>
Sat, 15 Aug 2020 21:19:32 +0000 (14:19 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 21:19:32 +0000 (14:19 -0700)
src/libraries/Common/src/Interop/Windows/Kernel32/Interop.CreateFileMappingFromApp.cs [deleted file]
src/libraries/Common/src/Interop/Windows/Kernel32/Interop.MapViewOfFileFromApp.cs [deleted file]

diff --git a/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.CreateFileMappingFromApp.cs b/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.CreateFileMappingFromApp.cs
deleted file mode 100644 (file)
index c402e91..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-using Microsoft.Win32.SafeHandles;
-using System;
-using System.Runtime.InteropServices;
-
-internal partial class Interop
-{
-    internal partial class Kernel32
-    {
-        [DllImport(Libraries.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)]
-        internal static extern SafeMemoryMappedFileHandle CreateFileMappingFromApp(
-            SafeFileHandle hFile,
-            ref SECURITY_ATTRIBUTES SecurityAttributes,
-            int PageProtection,
-            long MaximumSize,
-            string Name);
-
-        [DllImport(Libraries.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)]
-        internal static extern SafeMemoryMappedFileHandle CreateFileMappingFromApp(
-            IntPtr hFile,
-            ref SECURITY_ATTRIBUTES SecurityAttributes,
-            int PageProtection,
-            long MaximumSize,
-            string Name);
-    }
-}
diff --git a/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.MapViewOfFileFromApp.cs b/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.MapViewOfFileFromApp.cs
deleted file mode 100644 (file)
index 7426428..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-using Microsoft.Win32.SafeHandles;
-using System;
-using System.Runtime.InteropServices;
-
-internal partial class Interop
-{
-    internal partial class Kernel32
-    {
-        [DllImport(Libraries.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)]
-        internal static extern SafeMemoryMappedViewHandle MapViewOfFileFromApp(
-            SafeMemoryMappedFileHandle hFileMappingObject,
-            int DesiredAccess,
-            long FileOffset,
-            UIntPtr NumberOfBytesToMap);
-    }
-}