2 writes to _memoryHandle
InMemory.FunctionalTests (2)
src\Shared\Buffers.MemoryPool\DiagnosticPoolBlock.cs (2)
148
_memoryHandle
= _memoryHandle ?? _memory.Pin();
206
_memoryHandle
= null;
4 references to _memoryHandle
InMemory.FunctionalTests (4)
src\Shared\Buffers.MemoryPool\DiagnosticPoolBlock.cs (4)
148
_memoryHandle =
_memoryHandle
?? _memory.Pin();
152
return new MemoryHandle(((IntPtr)
_memoryHandle
.Value.Pointer + byteOffset).ToPointer(), default, this);
204
Debug.Assert(
_memoryHandle
.HasValue);
205
_memoryHandle
.Value.Dispose();