6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
InternalServerError.cs (3)
31int? IStatusCodeHttpResult.StatusCode => StatusCode; 42HttpResultsHelper.Log.WritingResultAsStatusCode(logger, StatusCode); 43httpContext.Response.StatusCode = StatusCode;
Microsoft.AspNetCore.Http.Results.Tests (3)
InternalServerErrorResultTests.cs (1)
25Assert.Equal(StatusCodes.Status500InternalServerError, internalServerErrorResult.StatusCode);
ResultsTests.cs (1)
436Assert.Equal(StatusCodes.Status500InternalServerError, result.StatusCode);
TypedResultsTests.cs (1)
1498Assert.Equal(StatusCodes.Status500InternalServerError, result.StatusCode);