19 references to OrdinalIgnoreCase
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ContentEncodingNegotiator.cs (1)
18
private static readonly Dictionary<StringSegment, string> _encodingExtensionMap = new Dictionary<StringSegment, string>(StringSegmentComparer.
OrdinalIgnoreCase
)
Microsoft.AspNetCore.HostFiltering (1)
MiddlewareConfigurationManager.cs (1)
75
if (!results.Contains(host, StringSegmentComparer.
OrdinalIgnoreCase
))
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
90
if (!allowedHosts.Contains(host, StringSegmentComparer.
OrdinalIgnoreCase
))
Microsoft.Net.Http.Headers (16)
CacheControlHeaderValue.cs (4)
419
StringSegmentComparer.
OrdinalIgnoreCase
))
425
StringSegmentComparer.
OrdinalIgnoreCase
))
460
result = result ^ StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(noCacheHeader);
468
result = result ^ StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(privateHeader);
ContentDispositionHeaderValue.cs (1)
248
return StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_dispositionType) ^ NameValueHeaderValue.GetHashCode(_parameters);
ContentRangeHeaderValue.cs (1)
158
var result = StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(Unit);
MediaTypeHeaderValue.cs (1)
491
return StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_mediaType) ^ NameValueHeaderValue.GetHashCode(_parameters);
NameValueHeaderValue.cs (2)
120
var nameHashCode = StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_name);
131
return nameHashCode ^ StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_value);
RangeHeaderValue.cs (1)
119
var result = StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_unit);
SetCookieHeaderValue.cs (5)
732
&& HeaderUtilities.AreEqualCollections(_extensions, other._extensions, StringSegmentComparer.
OrdinalIgnoreCase
);
738
var hash = StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_name)
739
^ StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_value)
742
^ (Domain != null ? StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(Domain) : 0)
743
^ (Path != null ? StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(Path) : 0)
StringWithQualityHeaderValue.cs (1)
110
var result = StringSegmentComparer.
OrdinalIgnoreCase
.GetHashCode(_value);