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