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