13 references to Suffix
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonRequestHelpers.cs (1)
46if (mt.Suffix.Equals("json", StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Http.Extensions (1)
HttpRequestJsonExtensions.cs (1)
293if (mt.Suffix.Equals("json", StringComparison.OrdinalIgnoreCase))
Microsoft.Net.Http.Headers (9)
MediaTypeHeaderValue.cs (7)
690if (set.Suffix.HasValue) 692if (Suffix.HasValue) 730if (Suffix.HasValue) 774set.SubType.Equals(Suffix, StringComparison.OrdinalIgnoreCase); 825return set.Suffix.Equals(Suffix, StringComparison.OrdinalIgnoreCase); 832return Suffix.Equals(suffix, StringComparison.OrdinalIgnoreCase);
MediaTypeHeaderValueComparer.cs (2)
101else if (!mediaType1.Suffix.Equals(mediaType2.Suffix, StringComparison.OrdinalIgnoreCase))
Microsoft.Net.Http.Headers.Tests (2)
MediaTypeHeaderValueTest.cs (2)
57Assert.Equal(new StringSegment(expectedSubTypeSuffix), result.Suffix); 78Assert.Equal(new StringSegment(expectedSubTypeSuffix), result.Suffix);