2 writes to _memoryHandle
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.MemoryPool\DiagnosticPoolBlock.cs (2)
148
_memoryHandle
= _memoryHandle ?? _memory.Pin();
206
_memoryHandle
= null;
4 references to _memoryHandle
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (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();