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