4 instantiations of 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.Formatters.Xml (1)
SerializableErrorWrapper.cs (1)
26SerializableError = new SerializableError();
11 references to SerializableError
Microsoft.AspNetCore.Mvc.Core (2)
SerializableError.cs (2)
17/// Initializes a new instance of the <see cref="SerializableError"/> class. 25/// Creates a new instance of <see cref="SerializableError"/>.
Microsoft.AspNetCore.Mvc.Formatters.Xml (9)
SerializableErrorWrapper.cs (2)
33public SerializableErrorWrapper(SerializableError error) 44public SerializableError SerializableError { get; }
SerializableErrorWrapperProvider.cs (3)
7/// Wraps the object of type <see cref="Microsoft.AspNetCore.Mvc.SerializableError"/>. 19var error = original as SerializableError;
SerializableErrorWrapperProviderFactory.cs (4)
7/// Creates an <see cref="IWrapperProvider"/> for the type <see cref="Microsoft.AspNetCore.Mvc.SerializableError"/>. 14/// <see cref="Microsoft.AspNetCore.Mvc.SerializableError"/>. 20/// <see cref="Microsoft.AspNetCore.Mvc.SerializableError"/>; otherwise <c>null</c>. 26if (context.DeclaredType == typeof(SerializableError))