11 references to SerializableError
Microsoft.AspNetCore.Mvc.Core (3)
BadRequestObjectResult.cs (1)
33
: base(new
SerializableError
(modelState))
ConflictObjectResult.cs (1)
33
: base(new
SerializableError
(modelState))
UnprocessableEntityObjectResult.cs (1)
23
: this(new
SerializableError
(modelState))
Microsoft.AspNetCore.Mvc.Core.Test (5)
SerializableErrorTests.cs (5)
20
var serializableError = new
SerializableError
(modelState);
37
var serializableError = new
SerializableError
(modelState);
52
var serializableError = new
SerializableError
(modelState);
63
new
SerializableError
(new ModelStateDictionary());
75
var serializableError = new
SerializableError
(modelState);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
SerializableErrorWrapperTests.cs (2)
48
var serializableError = new SerializableErrorWrapper(new
SerializableError
(new ModelStateDictionary()));
105
var serializableError = new
SerializableError
(modelState);
XmlFormattersWebSite (1)
Controllers\SerializableErrorController.cs (1)
28
return new ObjectResult(new
SerializableError
(ModelState));