1 instantiation of SafeMemoryMappedFileHandle
System.IO.MemoryMappedFiles (1)
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (1)
103
return 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)
223
internal 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)
228
global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
__retVal = default;
231
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
280
internal 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)
284
global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
__retVal = default;
287
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
516
internal static partial global::Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle MapViewOfFile(global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, nuint dwNumberOfBytesToMap)
525
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
>.ManagedToUnmanagedIn __hFileMappingObject_native__marshaller = new();
570
internal static partial global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
OpenFileMapping(int dwDesiredAccess, bool bInheritHandle, string lpName)
575
global::Microsoft.Win32.SafeHandles.
SafeMemoryMappedFileHandle
__retVal = default;
578
global::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)
13
internal static partial
SafeMemoryMappedFileHandle
CreateFileMapping(
22
internal static partial
SafeMemoryMappedFileHandle
CreateFileMapping(
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.MapViewOfFile.cs (1)
14
SafeMemoryMappedFileHandle
hFileMappingObject,
src\runtime\src\libraries\Common\src\Interop\Windows\Kernel32\Interop.OpenFileMapping.cs (1)
12
internal static partial
SafeMemoryMappedFileHandle
OpenFileMapping(
System\Diagnostics\SharedPerformanceCounter.cs (1)
1648
private
SafeMemoryMappedFileHandle
_fileMappingHandle;
System.IO.MemoryMappedFiles (15)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (10)
12
private readonly
SafeMemoryMappedFileHandle
_handle;
18
private MemoryMappedFile(
SafeMemoryMappedFileHandle
handle)
28
private MemoryMappedFile(
SafeMemoryMappedFileHandle
handle, SafeFileHandle fileHandle, bool leaveOpen)
75
SafeMemoryMappedFileHandle
handle = OpenCore(mapName, inheritability, desiredAccessRights, false);
153
SafeMemoryMappedFileHandle
? handle;
231
SafeMemoryMappedFileHandle
handle = CreateCore(fileHandle, mapName, inheritability,
264
SafeMemoryMappedFileHandle
handle = CreateCore(fileHandle, mapName, inheritability,
321
SafeMemoryMappedFileHandle
handle = CreateCore(null, mapName, inheritability, access, options, capacity, -1);
373
SafeMemoryMappedFileHandle
handle;
478
public
SafeMemoryMappedFileHandle
SafeMemoryMappedFileHandle
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (4)
43
private static
SafeMemoryMappedFileHandle
CreateCore(
109
private static
SafeMemoryMappedFileHandle
CreateOrOpenCore(
125
private static
SafeMemoryMappedFileHandle
OpenCore(
136
private static
SafeMemoryMappedFileHandle
OpenCore(
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
12
SafeMemoryMappedFileHandle
memMappedFileHandle, MemoryMappedFileAccess access,