6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
UnauthorizedHttpResult.cs (3)
27int? IStatusCodeHttpResult.StatusCode => StatusCode; 37HttpResultsHelper.Log.WritingResultAsStatusCode(logger, StatusCode); 39httpContext.Response.StatusCode = StatusCode;
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (1)
1685Assert.Equal(StatusCodes.Status401Unauthorized, result.StatusCode);
TypedResultsTests.cs (1)
1464Assert.Equal(StatusCodes.Status401Unauthorized, result.StatusCode);
UnauthorizedResultTests.cs (1)
19Assert.Equal(StatusCodes.Status401Unauthorized, result.StatusCode);