6 writes to StatusCode
System (2)
net\System\Net\HttpListenerResponse.cs (1)
276
StatusCode
= (int)HttpStatusCode.Redirect;
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
114
response.
StatusCode
= (int)HttpStatusCode.SwitchingProtocols; // HTTP 101
System.ServiceModel (4)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
3031
this.listenerResponse.
StatusCode
= (int)message.StatusCode;
3068
listenerResponse.
StatusCode
= (int)statusCode;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (2)
430
listenerContext.Response.
StatusCode
= (int)HttpStatusCode.MethodNotAllowed;
435
listenerContext.Response.
StatusCode
= (int)HttpStatusCode.NotFound;
4 references to StatusCode
System (4)
net\System\Net\HttpListenerResponse.cs (4)
140
m_StatusDescription = HttpStatusDescription.Get(
StatusCode
);
277
StatusDescription = HttpStatusDescription.Get(
StatusCode
);
481
if (
StatusCode
== (int)HttpStatusCode.Unauthorized) { // User set 401
657
if (CanSendResponseBody(m_HttpContext.Response.
StatusCode
)) {