3 instantiations of UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\TextInputFormatter.cs (1)
45
var exception = new
UnsupportedContentTypeException
(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147
var exception = new
UnsupportedContentTypeException
(message);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\UnsupportedContentTypeFilterTest.cs (1)
33
new
UnsupportedContentTypeException
("error"),
6 references to UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (5)
Formatters\TextInputFormatter.cs (1)
45
var
exception = new UnsupportedContentTypeException(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147
var
exception = new UnsupportedContentTypeException(message);
ModelBinding\UnsupportedContentTypeException.cs (1)
15
/// Creates a new instance of <see cref="
UnsupportedContentTypeException
"/> with the specified
ModelBinding\UnsupportedContentTypeFilter.cs (2)
12
/// A filter that scans for <see cref="
UnsupportedContentTypeException
"/> in the
49
if (error.Exception is
UnsupportedContentTypeException
)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\TextInputFormatterTest.cs (1)
38
Assert.IsType<
UnsupportedContentTypeException
>(error.Exception);