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