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