1 write to _requestMemoryBlob
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
25
_requestMemoryBlob
= requestMemoryBlob;
45 references to _requestMemoryBlob
Microsoft.AspNetCore.Shared.Tests (45)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (4)
63
return
_requestMemoryBlob
.GetKnownHeader(header);
68
_requestMemoryBlob
.GetUnknownHeaders(extra);
104
_requestMemoryBlob
.GetUnknownKeys(destination.AsSpan(knownHeadersCount));
120
count += _extra != null ? _extra.Count :
_requestMemoryBlob
.CountUnknownHeaders();
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (41)
2796
HttpSysRequestHeader.Accept => (_flag0 & 0x1u) != 0 ? _Accept.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Accept),
2797
HttpSysRequestHeader.AcceptCharset => (_flag0 & 0x2u) != 0 ? _AcceptCharset.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.AcceptCharset),
2798
HttpSysRequestHeader.AcceptEncoding => (_flag0 & 0x4u) != 0 ? _AcceptEncoding.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.AcceptEncoding),
2799
HttpSysRequestHeader.AcceptLanguage => (_flag0 & 0x8u) != 0 ? _AcceptLanguage.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.AcceptLanguage),
2800
HttpSysRequestHeader.Allow => (_flag0 & 0x10u) != 0 ? _Allow.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Allow),
2801
HttpSysRequestHeader.Authorization => (_flag0 & 0x20u) != 0 ? _Authorization.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Authorization),
2802
HttpSysRequestHeader.CacheControl => (_flag0 & 0x40u) != 0 ? _CacheControl.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.CacheControl),
2803
HttpSysRequestHeader.Connection => (_flag0 & 0x80u) != 0 ? _Connection.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Connection),
2804
HttpSysRequestHeader.ContentEncoding => (_flag0 & 0x100u) != 0 ? _ContentEncoding.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentEncoding),
2805
HttpSysRequestHeader.ContentLanguage => (_flag0 & 0x200u) != 0 ? _ContentLanguage.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentLanguage),
2806
HttpSysRequestHeader.ContentLength => (_flag0 & 0x400u) != 0 ? _ContentLength.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentLength),
2807
HttpSysRequestHeader.ContentLocation => (_flag0 & 0x800u) != 0 ? _ContentLocation.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentLocation),
2808
HttpSysRequestHeader.ContentMd5 => (_flag0 & 0x1000u) != 0 ? _ContentMD5.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentMd5),
2809
HttpSysRequestHeader.ContentRange => (_flag0 & 0x2000u) != 0 ? _ContentRange.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentRange),
2810
HttpSysRequestHeader.ContentType => (_flag0 & 0x4000u) != 0 ? _ContentType.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ContentType),
2811
HttpSysRequestHeader.Cookie => (_flag0 & 0x8000u) != 0 ? _Cookie.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Cookie),
2812
HttpSysRequestHeader.Date => (_flag0 & 0x10000u) != 0 ? _Date.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Date),
2813
HttpSysRequestHeader.Expect => (_flag0 & 0x20000u) != 0 ? _Expect.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Expect),
2814
HttpSysRequestHeader.Expires => (_flag0 & 0x40000u) != 0 ? _Expires.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Expires),
2815
HttpSysRequestHeader.From => (_flag0 & 0x80000u) != 0 ? _From.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.From),
2816
HttpSysRequestHeader.Host => (_flag0 & 0x100000u) != 0 ? _Host.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Host),
2817
HttpSysRequestHeader.IfMatch => (_flag0 & 0x200000u) != 0 ? _IfMatch.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.IfMatch),
2818
HttpSysRequestHeader.IfModifiedSince => (_flag0 & 0x400000u) != 0 ? _IfModifiedSince.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.IfModifiedSince),
2819
HttpSysRequestHeader.IfNoneMatch => (_flag0 & 0x800000u) != 0 ? _IfNoneMatch.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.IfNoneMatch),
2820
HttpSysRequestHeader.IfRange => (_flag0 & 0x1000000u) != 0 ? _IfRange.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.IfRange),
2821
HttpSysRequestHeader.IfUnmodifiedSince => (_flag0 & 0x2000000u) != 0 ? _IfUnmodifiedSince.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.IfUnmodifiedSince),
2822
HttpSysRequestHeader.KeepAlive => (_flag0 & 0x4000000u) != 0 ? _KeepAlive.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.KeepAlive),
2823
HttpSysRequestHeader.LastModified => (_flag0 & 0x8000000u) != 0 ? _LastModified.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.LastModified),
2824
HttpSysRequestHeader.MaxForwards => (_flag0 & 0x10000000u) != 0 ? _MaxForwards.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.MaxForwards),
2825
HttpSysRequestHeader.Pragma => (_flag0 & 0x20000000u) != 0 ? _Pragma.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Pragma),
2826
HttpSysRequestHeader.ProxyAuthorization => (_flag0 & 0x40000000u) != 0 ? _ProxyAuthorization.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.ProxyAuthorization),
2827
HttpSysRequestHeader.Range => (_flag0 & 0x80000000u) != 0 ? _Range.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Range),
2828
HttpSysRequestHeader.Referer => (_flag1 & 0x1u) != 0 ? _Referer.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Referer),
2829
HttpSysRequestHeader.Te => (_flag1 & 0x2u) != 0 ? _TE.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Te),
2830
HttpSysRequestHeader.Trailer => (_flag1 & 0x4u) != 0 ? _Trailer.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Trailer),
2831
HttpSysRequestHeader.TransferEncoding => (_flag1 & 0x8u) != 0 ? _TransferEncoding.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.TransferEncoding),
2832
HttpSysRequestHeader.Translate => (_flag1 & 0x10u) != 0 ? _Translate.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Translate),
2833
HttpSysRequestHeader.Upgrade => (_flag1 & 0x20u) != 0 ? _Upgrade.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Upgrade),
2834
HttpSysRequestHeader.UserAgent => (_flag1 & 0x40u) != 0 ? _UserAgent.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.UserAgent),
2835
HttpSysRequestHeader.Via => (_flag1 & 0x80u) != 0 ? _Via.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Via),
2836
HttpSysRequestHeader.Warning => (_flag1 & 0x100u) != 0 ? _Warning.Count > 0 :
_requestMemoryBlob
.HasKnownHeader(HttpSysRequestHeader.Warning),