4 writes to SubTypeWithoutSuffix
Microsoft.AspNetCore.Routing (4)
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (4)
48
SubTypeWithoutSuffix
= new StringSegment();
61
SubTypeWithoutSuffix
= new StringSegment();
71
SubTypeWithoutSuffix
= subType.Subsegment(0, subType.Length - subtypeSuffixLength - 1);
76
SubTypeWithoutSuffix
= SubType;
3 references to SubTypeWithoutSuffix
Microsoft.AspNetCore.Routing (3)
src\Shared\MediaType\ReadOnlyMediaTypeHeaderValue.cs (3)
221
public bool MatchesAllSubTypesWithoutSuffix =>
SubTypeWithoutSuffix
.Equals("*", StringComparison.OrdinalIgnoreCase);
407
set.
SubTypeWithoutSuffix
.Equals(
SubTypeWithoutSuffix
, StringComparison.OrdinalIgnoreCase);