19 writes to StatusCode
InMemory.FunctionalTests (6)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (6)
140context.Response.StatusCode = 500; 161context.Response.StatusCode = 404; 186context.Response.StatusCode = 200; 204context.Response.StatusCode = 200; 231context.Response.StatusCode = 400; 245context.Response.StatusCode = 200;
Microsoft.AspNetCore.InternalTesting.Tests (1)
HttpClientSlimTest.cs (1)
103context.Response.StatusCode = statusCode;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (6)
140context.Response.StatusCode = 500; 161context.Response.StatusCode = 404; 186context.Response.StatusCode = 200; 204context.Response.StatusCode = 200; 231context.Response.StatusCode = 400; 245context.Response.StatusCode = 200;
System.Net.HttpListener (6)
System\Net\HttpListenerResponse.cs (1)
246StatusCode = (int)HttpStatusCode.Redirect;
System\Net\Managed\HttpConnection.cs (1)
451response.StatusCode = status;
System\Net\Managed\ListenerAsyncResult.Managed.cs (3)
128context.Response.StatusCode = (int)HttpStatusCode.InternalServerError; 136context.Response.StatusCode = (int)HttpStatusCode.Unauthorized; 148context.Response.StatusCode = (int)errorCode;
System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs (1)
51response.StatusCode = (int)HttpStatusCode.SwitchingProtocols; // HTTP 101
4 references to StatusCode
System.Net.HttpListener (4)
System\Net\HttpListenerResponse.cs (2)
151return _statusDescription ??= HttpStatusDescription.Get(StatusCode) ?? string.Empty; 247StatusDescription = HttpStatusDescription.Get(StatusCode)!;
System\Net\Managed\HttpListenerResponse.Managed.cs (2)
187if (CanSendResponseBody(_httpContext!.Response.StatusCode)) 202_contentLength = CanSendResponseBody(_httpContext!.Response.StatusCode) ? -1 : 0;