3 instantiations of UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\TextInputFormatter.cs (1)
45var exception = new UnsupportedContentTypeException(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147var exception = new UnsupportedContentTypeException(message);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\UnsupportedContentTypeFilterTest.cs (1)
33new UnsupportedContentTypeException("error"),
6 references to UnsupportedContentTypeException
Microsoft.AspNetCore.Mvc.Core (5)
Formatters\TextInputFormatter.cs (1)
45var exception = new UnsupportedContentTypeException(message);
ModelBinding\Binders\BodyModelBinder.cs (1)
147var 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 49if (error.Exception is UnsupportedContentTypeException)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\TextInputFormatterTest.cs (1)
38Assert.IsType<UnsupportedContentTypeException>(error.Exception);