2 writes to Errors
Microsoft.AspNetCore.Http.Abstractions (1)
ProblemDetails\HttpValidationProblemDetails.cs (1)
43Errors = errors;
Microsoft.AspNetCore.Mvc.Core (1)
ValidationProblemDetails.cs (1)
86public new IDictionary<string, string[]> Errors { get { return base.Errors; } set { base.Errors = value; } }
18 references to Errors
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
HttpValidationProblemDetailsJsonConverterTest.cs (5)
25problemDetails.Errors.Add("key0", new[] { "error0" }); 26problemDetails.Errors.Add("key1", new[] { "error1", "error2" }); 79problemDetails.Errors.OrderBy(kvp => kvp.Key), 120problemDetails.Errors.OrderBy(kvp => kvp.Key), 159problemDetails.Errors.OrderBy(kvp => kvp.Key),
Microsoft.AspNetCore.Http.Extensions.Tests (6)
ProblemDetailsDefaultWriterTest.cs (6)
260expectedProblem.Errors.Add("sample", new string[] { "error-message" }); 280Assert.Equal(expectedProblem.Errors, problemDetails.Errors); 303expectedProblem.Errors.Add("sample", new string[] { "error-message" }); 323Assert.Equal(expectedProblem.Errors, problemDetails.Errors);
Microsoft.AspNetCore.Http.Results.Tests (5)
ProblemResultTests.cs (1)
165var error = Assert.Single(responseDetails.Errors);
ResultsTests.cs (2)
1415Assert.Equal(errors, ((HttpValidationProblemDetails)result.ProblemDetails).Errors); 1446Assert.Equal(errors, ((HttpValidationProblemDetails)result.ProblemDetails).Errors);
TypedResultsTests.cs (2)
1202Assert.Equal(errors, result.ProblemDetails.Errors); 1228Assert.Equal(errors, result.ProblemDetails.Errors);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1462var errorEntry = Assert.Single(problem.Errors);
Microsoft.AspNetCore.Mvc.Core (1)
ValidationProblemDetails.cs (1)
86public new IDictionary<string, string[]> Errors { get { return base.Errors; } set { base.Errors = value; } }