12 references to SafeMemoryMappedViewHandle
Microsoft.CodeAnalysis.Workspaces (1)
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
145(byte*)accessor.Target.SafeMemoryMappedViewHandle.DangerousGetHandle() + accessor.Target.PointerOffset,
sdk-tasks (6)
ReplaceFilesWithSymbolicLinks.cs (6)
105accessor1.SafeMemoryMappedViewHandle.AcquirePointer(ref ptr1); 106Span<byte> span1 = new Span<byte>(ptr1, checked((int)accessor1.SafeMemoryMappedViewHandle.ByteLength)); 108accessor2.SafeMemoryMappedViewHandle.AcquirePointer(ref ptr2); 109Span<byte> span2 = new Span<byte>(ptr2, checked((int)accessor2.SafeMemoryMappedViewHandle.ByteLength)); 117accessor1.SafeMemoryMappedViewHandle.ReleasePointer(); 122accessor2.SafeMemoryMappedViewHandle.ReleasePointer();
System.Reflection.Metadata (2)
System\Reflection\Internal\MemoryBlocks\StreamMemoryBlockProvider.cs (1)
150return new MemoryMappedFileBlock(accessor, accessor.SafeMemoryMappedViewHandle, accessor.PointerOffset, size);
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
94SafeMemoryMappedViewHandle? safeBuffer = accessor.SafeMemoryMappedViewHandle;
System.Security.Cryptography (3)
src\libraries\Common\src\System\IO\MemoryMappedFiles\MemoryMappedFileMemoryManager.cs (3)
50accessor.SafeMemoryMappedViewHandle.AcquirePointer(ref pointer); 58accessor!.SafeMemoryMappedViewHandle.ReleasePointer(); 71_accessor?.SafeMemoryMappedViewHandle.ReleasePointer();