2 writes to _backingBuffer
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
58_backingBuffer = memoryPool.Rent(newSize); 63_backingBuffer = MemoryPool<byte>.Shared.Rent(newSize);
18 references to _backingBuffer
Microsoft.AspNetCore.Server.HttpSys (18)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (18)
39[MemberNotNullWhen(false, nameof(_backingBuffer))] 65_backingBuffer.Memory.Span.Clear(); 66_memoryHandle = _backingBuffer.Memory.Pin(); 119Debug.Assert(_nativeRequest != null || _backingBuffer == null, "native request accessed after ReleasePins()."); 128Debug.Assert(_nativeRequest != null || _backingBuffer == null, "native request accessed after ReleasePins()."); 168Debug.Assert(_backingBuffer != null); 169return (uint)_backingBuffer.Memory.Length - AlignmentPadding; 217_backingBuffer?.Dispose(); 441fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 476fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 509fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 544fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 583fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 643fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 672fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 736fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span) 763: _backingBuffer.Memory.Slice((int)((long)requestInfo.pInfo - (long)baseAddress), (int)requestInfo.InfoLength); 779fixed (byte* pMemoryBlob = _backingBuffer.Memory.Span)