5 writes to StatusCode
Microsoft.AspNetCore.Server.IIS (5)
Core\IISHttpContext.cs (2)
158
StatusCode
= 200;
545
StatusCode
= statusCode;
Core\IISHttpContext.FeatureCollection.cs (2)
166
set =>
StatusCode
= value;
359
StatusCode
= StatusCodes.Status101SwitchingProtocols;
Core\IISHttpContextOfT.cs (1)
95
StatusCode
= ClientDisconnected ? StatusCodes.Status499ClientClosedRequest : 0;
6 references to StatusCode
Microsoft.AspNetCore.Server.IIS (6)
Core\IISHttpContext.cs (5)
341
ThrowResponseAlreadyStartedException(nameof(
StatusCode
));
476
return
StatusCode
!= 204
477
&&
StatusCode
!= 304;
570
var reasonPhrase = string.IsNullOrEmpty(ReasonPhrase) ? ReasonPhrases.GetReasonPhrase(
StatusCode
) : ReasonPhrase;
573
NativeMethods.HttpSetResponseStatusCode(_requestNativeHandle, (ushort)
StatusCode
, reasonPhrase);
Core\IISHttpContext.FeatureCollection.cs (1)
165
get =>
StatusCode
;