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