3 writes to _nativeRequest
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (3)
67
_nativeRequest
= (HTTP_REQUEST_V1*)((long)_memoryHandle.Pointer + _bufferAlignment);
77
_nativeRequest
= request;
181
_nativeRequest
= null;
18 references to _nativeRequest
Microsoft.AspNetCore.Shared.Tests (18)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (18)
119
Debug.Assert(
_nativeRequest
!= null || _backingBuffer == null, "native request accessed after ReleasePins().");
120
return
_nativeRequest
;
128
Debug.Assert(
_nativeRequest
!= null || _backingBuffer == null, "native request accessed after ReleasePins().");
129
return (HTTP_REQUEST_V2*)
_nativeRequest
;
177
Debug.Assert(
_nativeRequest
!= null, "RequestContextBase::ReleasePins()|ReleasePins() called twice.");
178
_originalBufferAddress = (IntPtr)
_nativeRequest
;
215
Debug.Assert(
_nativeRequest
== null, "RequestContextBase::Dispose()|Dispose() called before ReleasePins().");
437
return HasKnowHeaderHelper(header, 0,
_nativeRequest
);
472
return GetKnowHeaderHelper(header, 0,
_nativeRequest
);
505
PopulateUnknownKeys(
_nativeRequest
, 0, destination);
540
return CountUnknownHeaders(
_nativeRequest
, 0);
578
GetUnknownHeadersHelper(unknownHeaders, 0,
_nativeRequest
);
639
return GetEndPointHelper(localEndpoint,
_nativeRequest
, (byte*)0);
668
return GetChunksHelper(ref dataChunkIndex, ref dataChunkOffset, buffer, offset, size, 0,
_nativeRequest
);
732
return GetRequestInfo((IntPtr)
_nativeRequest
, (HTTP_REQUEST_V2*)
_nativeRequest
);
775
return GetClientCertificate((IntPtr)
_nativeRequest
, (HTTP_REQUEST_V2*)
_nativeRequest
);