24 references to CoreStrings
Microsoft.AspNetCore.Server.IIS (24)
Core\EmptyStream.cs (1)
34
throw new InvalidOperationException(
CoreStrings
.SynchronousReadsDisallowed);
Core\HttpRequestStream.cs (1)
28
throw new InvalidOperationException(
CoreStrings
.SynchronousReadsDisallowed);
Core\HttpResponseStream.cs (2)
37
throw new InvalidOperationException(
CoreStrings
.SynchronousWritesDisallowed);
103
throw new ObjectDisposedException(nameof(HttpResponseStream),
CoreStrings
.WritingToResponseBodyAfterResponseCompleted);
Core\IISHttpContext.cs (3)
571
throw new ObjectDisposedException(
CoreStrings
.UnhandledApplicationException, _applicationException);
894
throw new InvalidOperationException(
CoreStrings
.FormatParameterReadOnlyAfterResponseStarted(name));
899
throw new InvalidOperationException(
CoreStrings
.FormatInvalidReasonPhraseCharacter(
Core\IISHttpContext.FeatureCollection.cs (8)
346
throw new InvalidOperationException(
CoreStrings
.UpgradeWithWrongProtocolVersion);
348
throw new InvalidOperationException(
CoreStrings
.CannotUpgradeNonUpgradableRequest);
353
throw new InvalidOperationException(
CoreStrings
.UpgradeCannotBeCalledMultipleTimes);
357
throw new InvalidOperationException(
CoreStrings
.UpgradeCannotBeCalledMultipleTimes);
449
throw new InvalidOperationException(
CoreStrings
.MaxRequestBodySizeCannotBeModifiedAfterRead);
453
throw new InvalidOperationException(
CoreStrings
.MaxRequestBodySizeCannotBeModifiedForUpgradedRequests);
457
throw new ArgumentOutOfRangeException(nameof(value),
CoreStrings
.NonNegativeNumberOrNullRequired);
462
_logger.LogWarning(
CoreStrings
.MaxRequestLimitWarning);
Core\IISHttpContext.IHttpRequestLifetimeFeature.cs (1)
51
Abort(new ConnectionAbortedException(
CoreStrings
.ConnectionAbortedByApplication));
Core\IISHttpServer.cs (1)
90
_logger.LogWarning(
CoreStrings
.MaxRequestLimitWarning);
Core\ThrowingWasUpgradedWriteOnlyStreamInternal.cs (3)
16
=> throw new InvalidOperationException(
CoreStrings
.ResponseStreamWasUpgraded);
20
=> throw new InvalidOperationException(
CoreStrings
.ResponseStreamWasUpgraded);
24
=> throw new InvalidOperationException(
CoreStrings
.ResponseStreamWasUpgraded);
IISBadHttpRequestException.cs (2)
24
ex = new BadHttpRequestException(
CoreStrings
.BadRequest_RequestBodyTooLarge, StatusCodes.Status413PayloadTooLarge, reason);
27
ex = new BadHttpRequestException(
CoreStrings
.BadRequest, StatusCodes.Status400BadRequest, reason);
IISServerOptions.cs (1)
74
throw new ArgumentOutOfRangeException(nameof(value),
CoreStrings
.NonNegativeNumberOrNullRequired);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.IIS\Release\net11.0\Microsoft.AspNetCore.Server.IIS.CoreStrings.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
CoreStrings
)));