1 instantiation of SafeMemoryMappedFileHandle
System.IO.MemoryMappedFiles (1)
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (1)
103return new SafeMemoryMappedFileHandle(fileHandle, ownsFileStream, inheritability, access, options, capacity);
33 references to SafeMemoryMappedFileHandle
netstandard (1)
netstandard.cs (1)
10[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle))]
System.Core (1)
System.Core.cs (1)
4[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle))]
System.Diagnostics.PerformanceCounter (16)
_generated\0\LibraryImports.g.cs (11)
223internal static partial global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle CreateFileMapping(global::Microsoft.Win32.SafeHandles.SafeFileHandle hFile, ref global::Interop.Kernel32.SECURITY_ATTRIBUTES lpFileMappingAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, string lpName) 228global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle __retVal = default; 231global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 280internal static partial global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle CreateFileMapping(nint hFile, ref global::Interop.Kernel32.SECURITY_ATTRIBUTES lpFileMappingAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, string lpName) 284global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle __retVal = default; 287global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new(); 516internal static partial global::Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle MapViewOfFile(global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, nuint dwNumberOfBytesToMap) 525global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle>.ManagedToUnmanagedIn __hFileMappingObject_native__marshaller = new(); 570internal static partial global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle OpenFileMapping(int dwDesiredAccess, bool bInheritHandle, string lpName) 575global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle __retVal = default; 578global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.CreateFileMapping.cs (2)
13internal static partial SafeMemoryMappedFileHandle CreateFileMapping( 22internal static partial SafeMemoryMappedFileHandle CreateFileMapping(
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.MapViewOfFile.cs (1)
14SafeMemoryMappedFileHandle hFileMappingObject,
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.OpenFileMapping.cs (1)
12internal static partial SafeMemoryMappedFileHandle OpenFileMapping(
System\Diagnostics\SharedPerformanceCounter.cs (1)
1648private SafeMemoryMappedFileHandle _fileMappingHandle;
System.IO.MemoryMappedFiles (15)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (10)
12private readonly SafeMemoryMappedFileHandle _handle; 18private MemoryMappedFile(SafeMemoryMappedFileHandle handle) 28private MemoryMappedFile(SafeMemoryMappedFileHandle handle, SafeFileHandle fileHandle, bool leaveOpen) 75SafeMemoryMappedFileHandle handle = OpenCore(mapName, inheritability, desiredAccessRights, false); 153SafeMemoryMappedFileHandle? handle; 231SafeMemoryMappedFileHandle handle = CreateCore(fileHandle, mapName, inheritability, 264SafeMemoryMappedFileHandle handle = CreateCore(fileHandle, mapName, inheritability, 321SafeMemoryMappedFileHandle handle = CreateCore(null, mapName, inheritability, access, options, capacity, -1); 373SafeMemoryMappedFileHandle handle; 478public SafeMemoryMappedFileHandle SafeMemoryMappedFileHandle
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (4)
43private static SafeMemoryMappedFileHandle CreateCore( 109private static SafeMemoryMappedFileHandle CreateOrOpenCore( 125private static SafeMemoryMappedFileHandle OpenCore( 136private static SafeMemoryMappedFileHandle OpenCore(
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
12SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access,