From: Jan Kotas Date: Sat, 15 Aug 2020 21:19:32 +0000 (-0700) Subject: Delete unused files (#40889) X-Git-Tag: submit/tizen/20210909.063632~5942 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63b2b8593f8b2c04c933e5297adeef336053d440;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Delete unused files (#40889) --- 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 index c402e91..0000000 --- a/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.CreateFileMappingFromApp.cs +++ /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 index 7426428..0000000 --- a/src/libraries/Common/src/Interop/Windows/Kernel32/Interop.MapViewOfFileFromApp.cs +++ /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); - } -}