6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
UnprocessableEntity.cs (3)
31int? IStatusCodeHttpResult.StatusCode => StatusCode; 42HttpResultsHelper.Log.WritingResultAsStatusCode(logger, StatusCode); 43httpContext.Response.StatusCode = StatusCode;
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (1)
1695Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.StatusCode);
TypedResultsTests.cs (1)
1474Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.StatusCode);
UnprocessableEntityResultTests.cs (1)
25Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.StatusCode);