5 writes to StatusCode
Microsoft.AspNetCore.Server.IIS (5)
Core\IISHttpContext.cs (2)
165StatusCode = 200; 554StatusCode = statusCode;
Core\IISHttpContext.FeatureCollection.cs (2)
167set => StatusCode = value; 360StatusCode = StatusCodes.Status101SwitchingProtocols;
Core\IISHttpContextOfT.cs (1)
95StatusCode = ClientDisconnected ? StatusCodes.Status499ClientClosedRequest : 0;
6 references to StatusCode
Microsoft.AspNetCore.Server.IIS (6)
Core\IISHttpContext.cs (5)
348ThrowResponseAlreadyStartedException(nameof(StatusCode)); 485return StatusCode != 204 486&& StatusCode != 304; 579var reasonPhrase = string.IsNullOrEmpty(ReasonPhrase) ? ReasonPhrases.GetReasonPhrase(StatusCode) : ReasonPhrase; 582NativeMethods.HttpSetResponseStatusCode(_requestNativeHandle, (ushort)StatusCode, reasonPhrase);
Core\IISHttpContext.FeatureCollection.cs (1)
166get => StatusCode;