655 references to ArgumentOutOfRangeException
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\Guard.cs (1)
201throw new ArgumentOutOfRangeException(paramName, value, exMessage);
Aspire.Dashboard (5)
Components\Controls\Chart\ChartBase.cs (1)
348throw new ArgumentOutOfRangeException(nameof(percentile), percentile, "Percentile must be between 0 and 100.");
Model\Otlp\TelemetryFilter.cs (4)
54_ => throw new ArgumentOutOfRangeException(nameof(c), c, null) 68_ => throw new ArgumentOutOfRangeException(nameof(c), c, null) 82_ => throw new ArgumentOutOfRangeException(nameof(c), c, null) 96_ => throw new ArgumentOutOfRangeException(nameof(c), c, null)
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
271_ => throw new ArgumentOutOfRangeException(nameof(EnvironmentVariables.DefaultTFMForTesting), EnvironmentVariables.DefaultTFMForTesting, "Invalid value")
Aspire.Hosting (3)
ContainerResourceBuilderExtensions.cs (1)
202throw new ArgumentOutOfRangeException(nameof(image), parsedReference.Digest, "invalid digest format");
DistributedApplicationResourceBuilder.cs (1)
22throw new ArgumentOutOfRangeException(nameof(behavior), behavior, "ResourceAnnotationMutationBehavior must be either Append or Replace.");
Utils\ContainerReferenceParser.cs (1)
23throw new ArgumentOutOfRangeException(nameof(input), input, "invalid reference format: could not parse container image name");
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBExtensions.cs (1)
205throw new ArgumentOutOfRangeException(nameof(count), count, "Count must be between 1 and 250.");
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\Guard.cs (1)
199throw new ArgumentOutOfRangeException(paramName, value, exMessage);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\Guard.cs (1)
199throw new ArgumentOutOfRangeException(paramName, value, exMessage);
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
69_ => throw new ArgumentOutOfRangeException(nameof(level), level, null),
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\Guard.cs (1)
207throw new ArgumentOutOfRangeException(paramName, value, exMessage);
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
271_ => throw new ArgumentOutOfRangeException(nameof(EnvironmentVariables.DefaultTFMForTesting), EnvironmentVariables.DefaultTFMForTesting, "Invalid value")
dotnet-dev-certs (1)
ReporterEventListener.cs (1)
31_ => throw new ArgumentOutOfRangeException(nameof(eventData), eventData.Level, $"The value of argument '{nameof(eventData.Level)}' ({eventData.Level}) is invalid for Enum type '{nameof(EventLevel)}'.")
dotnet-svcutil-lib (143)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (1)
193return TraceException<ArgumentOutOfRangeException>(new ArgumentOutOfRangeException(paramName, actualValue, message));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (6)
633throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 658throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset, 1019throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("key", key, 1042throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 1068throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("prefix", prefix, 1112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (3)
108throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 126throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 158throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Binding.cs (8)
53throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 57throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 111throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 125throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 129throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 153throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 157throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BodyWriter.cs (1)
44throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferSize", maxBufferSize,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedConnection.cs (2)
106throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size, SRServiceModel.ValueMustBePositive)); 126throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size, SRServiceModel.ValueMustBePositive));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferManager.cs (3)
19throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferPoolSize", 25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferSize", 62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("bufferSize", bufferSize,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (6)
257throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 272throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 786throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", offset, SRServiceModel.ValueMustBeNonNegative)); 791throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", offset, string.Format(SRServiceModel.OffsetExceedsBufferSize, bufferSize))); 796throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size, SRServiceModel.ValueMustBePositive)); 802throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size, string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (1)
19throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("size", size, SRServiceModel.ValueMustBePositive));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingEncoders.cs (3)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 224throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageFrame.Offset", 309throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageFrame.Offset",
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
213throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", offset, 219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", count,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageProperty.cs (1)
66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (5)
223throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 244throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 250throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 306throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 310throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LocalClientSecuritySettings.cs (14)
65throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 82throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 106throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 148throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 178throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 202throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 225throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 249throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LocalServiceSecuritySettings.cs (20)
72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBeNonNegative)); 88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 93throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 115throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 145throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 150throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBeNonNegative)); 183throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 188throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 205throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBeNonNegative)); 221throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 226throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 248throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 265throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 270throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 299throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 304throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 321throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBeNonNegative));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (1)
86throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferSize", maxBufferSize,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (13)
55new ArgumentOutOfRangeException("maxSizeOfHeaders", maxSizeOfHeaders, 334new ArgumentOutOfRangeException("index", index, 500new ArgumentOutOfRangeException("headerIndex", headerIndex, 549new ArgumentOutOfRangeException("index", index, 862new ArgumentOutOfRangeException("index", index, 966new ArgumentOutOfRangeException("headerIndex", headerIndex, 1066new ArgumentOutOfRangeException("headerIndex", index, 1138new ArgumentOutOfRangeException("initialSize", initialSize, 1235new ArgumentOutOfRangeException("headerIndex", headerIndex, 1416new ArgumentOutOfRangeException("headerIndex", headerIndex, 1431new ArgumentOutOfRangeException("headerIndex", headerIndex, 1582new ArgumentOutOfRangeException("headerIndex", headerIndex, 1614new ArgumentOutOfRangeException("headerIndex", headerIndex,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
730throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", index,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
74throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive)); 91throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive)); 116throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\NamedPipeConnectionPoolSettings.cs (3)
48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElement.cs (1)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OutputChannel.cs (2)
36new ArgumentOutOfRangeException("timeout", timeout, SRServiceModel.SFxTimeoutOutOfRange0)); 81new ArgumentOutOfRangeException("timeout", timeout, SRServiceModel.SFxTimeoutOutOfRange0));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
55throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (7)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.TimeSpanMustbeGreaterThanTimeSpanZero)); 66throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 97throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.TimeSpanMustbeGreaterThanTimeSpanZero)); 102throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig)); 119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 135throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.ValueMustBePositive)); 150throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestChannel.cs (1)
265new ArgumentOutOfRangeException("timeout", timeout, SRServiceModel.SFxTimeoutOutOfRange0));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContextBase.cs (1)
129throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("timeout", timeout, SRServiceModel.ValueMustBeNonNegative));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
325throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, message)); 329throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TcpConnectionPoolSettings.cs (5)
51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 57throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 78throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 92throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (2)
478throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxMessageSize", maxMessageSize, 481throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageOffset", messageOffset,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 82throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElement.cs (2)
59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 77throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (2)
68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException( 76throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (2)
123throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRange0)); 128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, SRServiceModel.SFxTimeoutOutOfRangeTooBig));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
172throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
245throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", offset, 248throw TraceUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", count,
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageBodyMemberAttribute.cs (1)
18throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\ReliableSession.cs (1)
43throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\NonceCache.cs (3)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 33throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value, 54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value,
FrameworkFork\System.ServiceModel\System\ServiceModel\SpnEndpointIdentity.cs (1)
33throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", value.Ticks, SRServiceModel.ValueMustBeNonNegative));
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (3)
85throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", index, 147throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", index, 186throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", index,
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedKeyedCollection.cs (1)
51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("dictionaryCreationThreshold", dictionaryCreationThreshold,
FrameworkFork\System.ServiceModel\System\ServiceModel\XmlBuffer.cs (1)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxBufferSize", maxBufferSize,
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
29throw new ArgumentOutOfRangeException(nameof(serverType), serverType, null);
Microsoft.Analyzers.Local.Tests (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.AspNetCore.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectOptions.cs (1)
97throw new ArgumentOutOfRangeException(nameof(MaxAge), MaxAge.Value, "The value must not be a negative TimeSpan.");
Microsoft.AspNetCore.Components (7)
src\Http\Routing\src\Constraints\LengthRouteConstraint.cs (4)
32throw new ArgumentOutOfRangeException(nameof(length), length, errorMessage); 49throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage); 55throw new ArgumentOutOfRangeException(nameof(maxLength), maxLength, errorMessage); 62throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage);
src\Http\Routing\src\Constraints\MaxLengthRouteConstraint.cs (1)
32throw new ArgumentOutOfRangeException(nameof(maxLength), maxLength, errorMessage);
src\Http\Routing\src\Constraints\MinLengthRouteConstraint.cs (1)
32throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage);
src\Http\Routing\src\Constraints\RangeRouteConstraint.cs (1)
34throw new ArgumentOutOfRangeException(nameof(min), min, errorMessage);
Microsoft.AspNetCore.Cryptography.KeyDerivation (7)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (7)
16throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-zero value."); 22throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-negative value."); 28throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-negative and non-zero value."); 34throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be less than or equal to '{other}'."); 40throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be less than '{other}'."); 46throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be greater than or equal to '{other}'."); 52throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be greater than '{other}'.");
Microsoft.AspNetCore.HeaderParsing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.AspNetCore.Http (3)
Internal\ReferenceReadStream.cs (1)
56throw new ArgumentOutOfRangeException(nameof(value), value, $"The Position must be within the length of the Stream: {Length}");
SendFileFallback.cs (2)
28throw new ArgumentOutOfRangeException(nameof(offset), offset, string.Empty); 33throw new ArgumentOutOfRangeException(nameof(count), count, string.Empty);
Microsoft.AspNetCore.Http.Connections.Client (7)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (7)
16throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-zero value."); 22throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-negative value."); 28throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be a non-negative and non-zero value."); 34throw new ArgumentOutOfRangeException(paramName, value, $"'{paramName}' must be less than or equal to '{other}'."); 40throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be less than '{other}'."); 46throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be greater than or equal to '{other}'."); 52throw new ArgumentOutOfRangeException(paramName, value, $"'{value}' must be greater than '{other}'.");
Microsoft.AspNetCore.InternalTesting.Tests (1)
ExceptionAssertTest.cs (1)
32throw new ArgumentOutOfRangeException("foo", 10, "exception message.");
Microsoft.AspNetCore.Owin (4)
WebSockets\OwinWebSocketAdapter.cs (2)
191throw new ArgumentOutOfRangeException(nameof(messageType), messageType, string.Empty); 206throw new ArgumentOutOfRangeException(nameof(webSocketMessageType), webSocketMessageType, string.Empty);
WebSockets\WebSocketAdapter.cs (2)
151throw new ArgumentOutOfRangeException(nameof(messageType), messageType, string.Empty); 166throw new ArgumentOutOfRangeException(nameof(webSocketMessageType), webSocketMessageType, string.Empty);
Microsoft.AspNetCore.ResponseCaching (1)
src\Shared\SegmentWriteStream.cs (1)
19throw new ArgumentOutOfRangeException(nameof(segmentSize), segmentSize, $"{nameof(segmentSize)} must be greater than 0.");
Microsoft.AspNetCore.Routing (7)
Constraints\LengthRouteConstraint.cs (4)
32throw new ArgumentOutOfRangeException(nameof(length), length, errorMessage); 49throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage); 55throw new ArgumentOutOfRangeException(nameof(maxLength), maxLength, errorMessage); 62throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage);
Constraints\MaxLengthRouteConstraint.cs (1)
32throw new ArgumentOutOfRangeException(nameof(maxLength), maxLength, errorMessage);
Constraints\MinLengthRouteConstraint.cs (1)
32throw new ArgumentOutOfRangeException(nameof(minLength), minLength, errorMessage);
Constraints\RangeRouteConstraint.cs (1)
34throw new ArgumentOutOfRangeException(nameof(min), min, errorMessage);
Microsoft.AspNetCore.Server.HttpSys (12)
HttpSysOptions.cs (5)
50throw new ArgumentOutOfRangeException(nameof(value), 134throw new ArgumentOutOfRangeException(nameof(value), value, "The value must be positive, or -1 for infinite."); 161throw new ArgumentOutOfRangeException(nameof(value), value, "The value must be greater than zero."); 184throw new ArgumentOutOfRangeException(nameof(value), value, "The value must be greater or equal to zero."); 217throw new ArgumentOutOfRangeException(nameof(value), value, message);
RequestProcessing\RequestStream.cs (1)
55throw new ArgumentOutOfRangeException(nameof(value), value, "The value must be greater or equal to zero.");
RequestProcessing\Response.cs (1)
78throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(CultureInfo.CurrentCulture, Resources.Exception_InvalidStatusCode, value));
RequestProcessing\ResponseBody.cs (2)
647throw new ArgumentOutOfRangeException(nameof(offset), offset, string.Empty); 651throw new ArgumentOutOfRangeException(nameof(count), count, string.Empty);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
150throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
205throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
UrlPrefix.cs (1)
67throw new ArgumentOutOfRangeException(nameof(scheme), scheme, Resources.Exception_UnsupportedScheme);
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
150throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
205throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Http2Limits.cs (6)
37throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.GreaterThanZeroRequired); 57throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.GreaterThanOrEqualToZeroRequired); 77throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.FormatArgumentOutOfRange(Http2PeerSettings.MinAllowedMaxFrameSize, Http2PeerSettings.MaxAllowedMaxFrameSize)); 97throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.GreaterThanZeroRequired); 118throw new ArgumentOutOfRangeException(nameof(value), value, 141throw new ArgumentOutOfRangeException(nameof(value), value,
Http3Limits.cs (2)
30throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.GreaterThanZeroRequired); 50throw new ArgumentOutOfRangeException(nameof(value), value, CoreStrings.GreaterThanZeroRequired);
Internal\Infrastructure\TimeExtensions.cs (1)
15throw new ArgumentOutOfRangeException(nameof(timeSpan), timeSpan, string.Empty);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
QuicTransportOptions.cs (1)
79throw new ArgumentOutOfRangeException(nameof(errorCode), errorCode, $"A value between 0x{MinErrorCode:x} and 0x{MaxErrorCode:x} is required.");
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
150throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
205throw new ArgumentOutOfRangeException(nameof(value), value.Value, "Cannot be negative.");
src\Shared\SegmentWriteStream.cs (1)
19throw new ArgumentOutOfRangeException(nameof(segmentSize), segmentSize, $"{nameof(segmentSize)} must be greater than 0.");
Microsoft.AspNetCore.TestHost (4)
ResponseFeature.cs (1)
41throw new ArgumentOutOfRangeException(nameof(value), value, "The status code cannot be set to a value less than 100");
TestWebSocket.cs (3)
160throw new ArgumentOutOfRangeException(nameof(messageType), messageType, string.Empty); 202throw new ArgumentOutOfRangeException(nameof(buffer), buffer.Offset, string.Empty); 206throw new ArgumentOutOfRangeException(nameof(buffer), buffer.Count, string.Empty);
Microsoft.AspNetCore.Testing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.AspNetCore.WebSockets.Tests (2)
BufferStream.cs (2)
276throw new ArgumentOutOfRangeException(nameof(offset), offset, string.Empty); 281throw new ArgumentOutOfRangeException(nameof(count), count, string.Empty);
Microsoft.AspNetCore.WebUtilities (6)
BufferedReadStream.cs (3)
96throw new ArgumentOutOfRangeException(nameof(value), value, "Position must be positive."); 283throw new ArgumentOutOfRangeException(nameof(minCount), minCount, "The value must be smaller than the buffer size: " + _buffer.Length); 316throw new ArgumentOutOfRangeException(nameof(minCount), minCount, "The value must be smaller than the buffer size: " + _buffer.Length);
MultipartReader.cs (1)
55throw new ArgumentOutOfRangeException(nameof(bufferSize), bufferSize, "Insufficient buffer space, the buffer must be larger than the boundary: " + boundary);
MultipartReaderStream.cs (2)
78throw new ArgumentOutOfRangeException(nameof(value), value, "The Position must be positive."); 82throw new ArgumentOutOfRangeException(nameof(value), value, "The Position must be less than length.");
Microsoft.Build (5)
BuildCheck\API\BuildCheckResult.cs (1)
36_ => throw new ArgumentOutOfRangeException(nameof(severity), severity, null),
BuildCheck\Infrastructure\CheckConfigurationEffective.cs (1)
17throw new ArgumentOutOfRangeException(nameof(severity), severity, "Severity 'Default' is not recognized by the BuildCheck reports infrastructure");
BuildCheck\Infrastructure\CheckScopeClassifier.cs (1)
56_ => throw new ArgumentOutOfRangeException(nameof(scope), scope, null),
BuildCheck\Utilities\CheckResultSeverityExtensions.cs (1)
28_ => throw new ArgumentOutOfRangeException(nameof(severity), severity, null)
Evaluation\IntrinsicFunctions.cs (1)
464_ => throw new ArgumentOutOfRangeException(nameof(algo), algo, null)
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
767_ => throw new ArgumentOutOfRangeException(nameof(scope), scope, null),
Microsoft.Build.Engine.UnitTests (5)
BinaryLogger_Tests.cs (1)
155throw new ArgumentOutOfRangeException(nameof(replayMode), replayMode, null);
Definition\ProjectEvaluationContext_Tests.cs (4)
87throw new ArgumentOutOfRangeException(nameof(policy), policy, null); 837throw new ArgumentOutOfRangeException(nameof(policy), policy, null); 886throw new ArgumentOutOfRangeException(nameof(policy), policy, null); 942throw new ArgumentOutOfRangeException(nameof(policy), policy, null);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\SegmentedHashSet`1.cs (2)
801throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_NeedNonNegNum); 807throw new ArgumentOutOfRangeException(nameof(count), count, SR.ArgumentOutOfRange_NeedNonNegNum);
Microsoft.CodeAnalysis.Collections.Package (2)
SegmentedHashSet`1.cs (2)
801throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_NeedNonNegNum); 807throw new ArgumentOutOfRangeException(nameof(count), count, SR.ArgumentOutOfRange_NeedNonNegNum);
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpSemanticModel.cs (1)
1302throw new ArgumentOutOfRangeException(nameof(position), position,
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\SegmentedHashSet`1.cs (2)
801throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_NeedNonNegNum); 807throw new ArgumentOutOfRangeException(nameof(count), count, SR.ArgumentOutOfRange_NeedNonNegNum);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\SegmentedHashSet`1.cs (2)
801throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_NeedNonNegNum); 807throw new ArgumentOutOfRangeException(nameof(count), count, SR.ArgumentOutOfRange_NeedNonNegNum);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
NewlyCreatedProjectsFromDotNetNew.cs (2)
164_ => throw new ArgumentOutOfRangeException(nameof(languageName), actualValue: languageName, message: "Only C# and VB.NET projects are supported.") 175_ => throw new ArgumentOutOfRangeException(nameof(languageName), actualValue: languageName, message: "Only C# and VB.NET projects are supported.")
Microsoft.DotNet.Helix.Client (1)
Job.cs (1)
16if (pollingIntervalMs < 5000) throw new ArgumentOutOfRangeException(nameof(pollingIntervalMs), pollingIntervalMs, "The polling interval cannot be less than 5000.");
Microsoft.DotNet.VersionTools.Tasks (1)
SubmitPullRequest.cs (1)
163throw new ArgumentOutOfRangeException(
Microsoft.Extensions.AI (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AI.Integration.Tests (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AI.Ollama (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AmbientMetadata.Application (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Caching.Abstractions (7)
CacheEntryExtensions.cs (1)
159throw new ArgumentOutOfRangeException(nameof(size), size, $"{nameof(size)} must be non-negative.");
DistributedCacheEntryOptions.cs (2)
45throw new ArgumentOutOfRangeException( 69throw new ArgumentOutOfRangeException(
MemoryCacheEntryExtensions.cs (1)
40throw new ArgumentOutOfRangeException(nameof(size), size, $"{nameof(size)} must be non-negative.");
MemoryCacheEntryOptions.cs (3)
48throw new ArgumentOutOfRangeException( 72throw new ArgumentOutOfRangeException( 108throw new ArgumentOutOfRangeException(nameof(value), value, $"{nameof(value)} must be non-negative.");
Microsoft.Extensions.Caching.Hybrid (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Caching.Memory (5)
CacheEntry.cs (3)
104throw new ArgumentOutOfRangeException( 125throw new ArgumentOutOfRangeException( 162throw new ArgumentOutOfRangeException(nameof(value), value, $"{nameof(value)} must be non-negative.");
MemoryCacheOptions.cs (2)
51throw new ArgumentOutOfRangeException(nameof(value), value, $"{nameof(value)} must be non-negative."); 75throw new ArgumentOutOfRangeException(nameof(value), value, $"{nameof(value)} must be between 0 and 1 inclusive.");
Microsoft.Extensions.Caching.SqlServer (1)
SqlServerCache.cs (1)
54throw new ArgumentOutOfRangeException(
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
600throw new ArgumentOutOfRangeException(
Microsoft.Extensions.Compliance.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Compliance.Redaction (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Compliance.Testing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Diagnostics.Probes (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Diagnostics.Testing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Hosting.Testing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Http.Resilience (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Options.Contextual (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Resilience (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Telemetry (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.Telemetry.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.Extensions.TimeProvider.Testing (1)
src\Shared\Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
Microsoft.JSInterop (1)
Implementation\JSStreamReference.cs (1)
26throw new ArgumentOutOfRangeException(nameof(totalLength), totalLength, "Length must be a positive value.");
Microsoft.Maui.Graphics.Skia (1)
SkiaImage.cs (1)
133 _ => throw new ArgumentOutOfRangeException(nameof(format), format, null)
Microsoft.ML.Core (4)
Utilities\Contracts.cs (4)
310=> Process(new ArgumentOutOfRangeException(msg, value, paramName)); 312=> Process(new ArgumentOutOfRangeException(msg, value, paramName), ctx); 314=> Process(new ArgumentOutOfRangeException(paramName, value, GetMsg(msg, args))); 316=> Process(new ArgumentOutOfRangeException(paramName, value, GetMsg(msg, args)), ctx);
Microsoft.ML.CpuMath (4)
src\Microsoft.ML.Core\Utilities\Contracts.cs (4)
310=> Process(new ArgumentOutOfRangeException(msg, value, paramName)); 312=> Process(new ArgumentOutOfRangeException(msg, value, paramName), ctx); 314=> Process(new ArgumentOutOfRangeException(paramName, value, GetMsg(msg, args))); 316=> Process(new ArgumentOutOfRangeException(paramName, value, GetMsg(msg, args)), ctx);
Microsoft.Net.Http.Headers (1)
HeaderUtilities.cs (1)
509throw new ArgumentOutOfRangeException(nameof(value), value, "The value to be formatted must be non-negative.");
PresentationCore (18)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Ink\BitStream.cs (10)
71throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 100throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 128throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 158throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 186throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 237throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 242throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsGreatThanRemainingBits); 371throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 410throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange); 439throw new ArgumentOutOfRangeException(nameof(countOfBits), countOfBits, SR.CountOfBitsOutOfRange);
System\Windows\Media\Effects\ShaderEffect.cs (4)
45throw new ArgumentOutOfRangeException(nameof(value), value, SR.Effect_ShaderEffectPadding); 72throw new ArgumentOutOfRangeException(nameof(value), value, SR.Effect_ShaderEffectPadding); 99throw new ArgumentOutOfRangeException(nameof(value), value, SR.Effect_ShaderEffectPadding); 126throw new ArgumentOutOfRangeException(nameof(value), value, SR.Effect_ShaderEffectPadding);
System\Windows\Media\Visual.cs (1)
2517throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Media3D\Viewport2DVisual3D.cs (2)
830throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 862throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Media3D\Visual3D.cs (1)
990throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
PresentationFramework (38)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
105throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
MS\Internal\Controls\TemplatedAdorner.cs (1)
111throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
MS\Internal\Documents\DocumentGrid.cs (1)
1002throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
MS\Internal\Documents\DocumentGridPage.cs (2)
180throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 184throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
MS\Internal\Documents\DocumentPageHost.cs (1)
125throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
MS\Internal\Documents\FlowDocumentView.cs (1)
223throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\AccessText.cs (1)
534throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
143throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\DataGrid.cs (1)
384throw new ArgumentOutOfRangeException(nameof(displayIndex), displayIndex, SR.DataGrid_DisplayIndexOutOfRange);
System\Windows\Controls\DataGridColumnCollection.cs (2)
476throw new ArgumentOutOfRangeException("displayIndex", oldDisplayIndex, SR.Format(SR.DataGrid_ColumnDisplayIndexOutOfRange, changingColumn.Header)); 719throw new ArgumentOutOfRangeException(nameof(displayIndex), displayIndex, SR.Format(SR.DataGrid_ColumnDisplayIndexOutOfRange, column.Header));
System\Windows\Controls\Decorator.cs (1)
174throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Grid.cs (1)
318throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\GridSplitter.cs (1)
424throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\InkCanvas.cs (1)
380throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\InkPresenter.cs (2)
254throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 268throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Panel.cs (1)
376throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
218throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
473throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
126throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\PopupRoot.cs (1)
70throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
342throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 355throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\Primitives\Track.cs (1)
369throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\ToolBarTray.cs (1)
476throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\ViewBox.cs (1)
237throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Controls\ViewPort3D.cs (1)
187throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Documents\AdornerDecorator.cs (2)
208throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 221throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\windows\Documents\CaretElement.cs (1)
107throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Documents\FixedPage.cs (1)
708throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\FrameworkElement.cs (2)
637throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange); 641throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Input\KeyboardNavigation.cs (1)
665throw new ArgumentOutOfRangeException(nameof(index), index, SR.Visual_ArgumentOutOfRange);
System\Windows\Markup\Baml2006\SharedStream.cs (2)
136throw new ArgumentOutOfRangeException(nameof(value), value, string.Empty); 240throw new ArgumentOutOfRangeException(nameof(offset), offset, string.Empty);
ReachFramework (3)
AlphaFlattener\MetroDevice.cs (1)
771throw new ArgumentOutOfRangeException(nameof(maxEntries), maxEntries, string.Empty);
MS\Internal\Printing\Configuration\COMPSTUISRID.cs (1)
32throw new ArgumentOutOfRangeException(nameof(srid), srid, string.Empty);
MS\Internal\Printing\MostFrequentlyUsedCache.cs (1)
13throw new ArgumentOutOfRangeException(nameof(maxEntries), maxEntries, string.Empty);
Shared (1)
Throw\Throw.cs (1)
357=> throw new ArgumentOutOfRangeException(paramName, actualValue, message);
System.Collections (12)
System\Collections\BitArray.cs (1)
1107throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLess);
System\Collections\Generic\LinkedList.cs (1)
202throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_BiggerThanCollection);
System\Collections\Generic\PriorityQueue.cs (1)
970throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLessOrEqual);
System\Collections\Generic\SortedList.cs (7)
233throw new ArgumentOutOfRangeException(nameof(value), value, SR.ArgumentOutOfRange_SmallCapacity); 437throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_IndexMustBeLessOrEqual); 468throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLessOrEqual); 527throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLess); 540throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLess); 564throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLess); 689throw new ArgumentOutOfRangeException(nameof(index), index, SR.ArgumentOutOfRange_IndexMustBeLess);
System\Collections\Generic\Stack.cs (2)
103throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_IndexMustBeLessOrEqual); 136throw new ArgumentOutOfRangeException(nameof(arrayIndex), arrayIndex, SR.ArgumentOutOfRange_IndexMustBeLessOrEqual);
System.Collections.Concurrent (3)
System\Collections\Concurrent\BlockingCollection.cs (3)
1574throw new ArgumentOutOfRangeException(nameof(index), index, SR.BlockingCollection_CopyTo_NonNegative); 1701throw new ArgumentOutOfRangeException(nameof(timeout), timeout, 1715throw new ArgumentOutOfRangeException(nameof(millisecondsTimeout), millisecondsTimeout,
System.Console (2)
System\Console.cs (2)
553throw new ArgumentOutOfRangeException(nameof(left), left, SR.ArgumentOutOfRange_ConsoleBufferBoundaries); 555throw new ArgumentOutOfRangeException(nameof(top), top, SR.ArgumentOutOfRange_ConsoleBufferBoundaries);
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListener.cs (1)
114throw new ArgumentOutOfRangeException(nameof(IndentSize), value, SR.TraceListenerIndentSize);
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
32_ => throw new ArgumentOutOfRangeException(nameof(encodingType), encodingType, null),
System\Formats\Asn1\AsnWriter.BitString.cs (1)
50throw new ArgumentOutOfRangeException(
System.IO.Pipelines (1)
src\libraries\Common\src\System\IO\StreamHelpers.CopyValidation.cs (1)
19throw new ArgumentOutOfRangeException(nameof(bufferSize), bufferSize, SR.ArgumentOutOfRange_NeedPosNum);
System.Net.Http (6)
System\Net\Http\HttpClient.cs (1)
123throw new ArgumentOutOfRangeException(nameof(value), value,
System\Net\Http\HttpClientHandler.cs (1)
243throw new ArgumentOutOfRangeException(nameof(value), value,
System\Net\Http\HttpContent.cs (1)
594throw new ArgumentOutOfRangeException(nameof(maxBufferSize), maxBufferSize,
System\Net\Http\MultipartContent.cs (1)
76throw new ArgumentOutOfRangeException(nameof(boundary), boundary,
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (2)
313throw new ArgumentOutOfRangeException(nameof(value), value, SR.Format(SR.net_http_value_must_be_greater_than_or_equal, value, TimeSpan.FromSeconds(1))); 338throw new ArgumentOutOfRangeException(nameof(value), value, SR.Format(SR.net_http_value_must_be_greater_than_or_equal, value, TimeSpan.FromSeconds(1)));
System.Net.Quic (3)
System\Net\Quic\Internal\ThrowHelper.cs (2)
199throw new ArgumentOutOfRangeException(argumentName, value, SR.Format(SR.net_quic_in_range, propertyName, max)); 207throw new ArgumentOutOfRangeException(argumentName, value, SR.Format(SR.net_quic_timeout_use_gt_zero, propertyName));
System\Net\Quic\QuicConnectionOptions.cs (1)
47throw new ArgumentOutOfRangeException(argumentName, value, SR.Format(SR.net_quic_power_of_2, $"{nameof(QuicConnectionOptions.InitialReceiveWindowSizes)}.{propertyName}"));
System.Net.Security (1)
System\Net\Security\NegotiateStream.cs (1)
647throw new ArgumentOutOfRangeException(nameof(impersonationLevel), impersonationLevel.ToString(), SR.net_auth_supported_impl_levels);
System.Net.Sockets (1)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
49throw new ArgumentOutOfRangeException(
System.Net.WebSockets (6)
System\Net\WebSockets\WebSocket.cs (2)
148throw new ArgumentOutOfRangeException(nameof(keepAliveInterval), keepAliveInterval, 202throw new ArgumentOutOfRangeException(nameof(keepAliveInterval), keepAliveInterval,
System\Net\WebSockets\WebSocketCreationOptions.cs (2)
51throw new ArgumentOutOfRangeException(nameof(KeepAliveInterval), value, 70throw new ArgumentOutOfRangeException(nameof(KeepAliveTimeout), value,
System\Net\WebSockets\WebSocketDeflateOptions.cs (2)
30throw new ArgumentOutOfRangeException(nameof(ClientMaxWindowBits), value, 57throw new ArgumentOutOfRangeException(nameof(ServerMaxWindowBits), value,
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
190throw new ArgumentOutOfRangeException(nameof(value), value, 212throw new ArgumentOutOfRangeException(nameof(value), value,
System.Private.CoreLib (126)
src\libraries\System.Private.CoreLib\src\System\ArgumentOutOfRangeException.cs (9)
92throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeNonZero, paramName, value)); 96throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeNonNegative, paramName, value)); 100throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeNonNegativeNonZero, paramName, value)); 104throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeLessOrEqual, paramName, value, other)); 108throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeLess, paramName, value, other)); 112throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeGreaterOrEqual, paramName, value, other)); 116throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeGreater, paramName, value, other)); 120throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeNotEqual, paramName, (object?)value ?? "null", (object?)other ?? "null")); 124throw new ArgumentOutOfRangeException(paramName, value, SR.Format(SR.ArgumentOutOfRange_Generic_MustBeEqual, paramName, (object?)value ?? "null", (object?)other ?? "null"));
src\libraries\System.Private.CoreLib\src\System\Environment.cs (3)
153throw new ArgumentOutOfRangeException(nameof(folder), folder, SR.Format(SR.Arg_EnumIllegalVal, folder)); 156throw new ArgumentOutOfRangeException(nameof(option), option, SR.Format(SR.Arg_EnumIllegalVal, option)); 259throw new ArgumentOutOfRangeException(nameof(target), target, SR.Format(SR.Arg_EnumIllegalVal, target));
src\libraries\System.Private.CoreLib\src\System\Environment.UnixOrBrowser.cs (1)
68new ArgumentOutOfRangeException(nameof(name), name, errno.GetErrorMessage()) :
src\libraries\System.Private.CoreLib\src\System\Globalization\Calendar.cs (4)
130throw new ArgumentOutOfRangeException(nameof(value), value, SR.ArgumentOutOfRange_AddValue); 478throw new ArgumentOutOfRangeException( 489_ => throw new ArgumentOutOfRangeException( 675throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\ChineseLunisolarCalendar.cs (3)
258throw new ArgumentOutOfRangeException("year", lunarYear, SR.Format(SR.ArgumentOutOfRange_Range, MinLunisolarYear, MaxLunisolarYear)); 273throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 277throw new ArgumentOutOfRangeException(nameof(year), year, SR.Format(SR.ArgumentOutOfRange_Range, MinLunisolarYear, MaxLunisolarYear));
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (5)
464throw new ArgumentOutOfRangeException(nameof(value), value, SR.Argument_InvalidCalendar); 543throw new ArgumentOutOfRangeException(nameof(era), era + 1, SR.ArgumentOutOfRange_InvalidEraValue); 572throw new ArgumentOutOfRangeException(nameof(era), era + 1, SR.ArgumentOutOfRange_InvalidEraValue); 646throw new ArgumentOutOfRangeException( 676throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (11)
38throw new ArgumentOutOfRangeException( 55throw new ArgumentOutOfRangeException( 104throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 134throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 145throw new ArgumentOutOfRangeException( 162throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 173throw new ArgumentOutOfRangeException( 250throw new ArgumentOutOfRangeException( 428throw new ArgumentOutOfRangeException( 601throw new ArgumentOutOfRangeException( 666throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (19)
51throw new ArgumentOutOfRangeException( 68throw new ArgumentOutOfRangeException( 141throw new ArgumentOutOfRangeException( 215throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 228throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 250throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 254throw new ArgumentOutOfRangeException( 293throw new ArgumentOutOfRangeException( 301throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 305throw new ArgumentOutOfRangeException( 312throw new ArgumentOutOfRangeException( 330throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 334throw new ArgumentOutOfRangeException( 351throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 355throw new ArgumentOutOfRangeException( 362throw new ArgumentOutOfRangeException( 379throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 392throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 427throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (7)
296throw new ArgumentOutOfRangeException( 314throw new ArgumentOutOfRangeException( 332throw new ArgumentOutOfRangeException( 343throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 351throw new ArgumentOutOfRangeException( 575throw new ArgumentOutOfRangeException(nameof(months), months, SR.ArgumentOutOfRange_AddValue); 881throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (9)
124throw new ArgumentOutOfRangeException( 139throw new ArgumentOutOfRangeException( 154throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 176throw new ArgumentOutOfRangeException( 271throw new ArgumentOutOfRangeException( 371throw new ArgumentOutOfRangeException( 404throw new ArgumentOutOfRangeException( 437throw new ArgumentOutOfRangeException( 458throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
273throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseLunisolarCalendar.cs (1)
145throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (7)
56throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 65throw new ArgumentOutOfRangeException( 103throw new ArgumentOutOfRangeException( 184throw new ArgumentOutOfRangeException( 308throw new ArgumentOutOfRangeException( 330throw new ArgumentOutOfRangeException( 345throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
166throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanLunisolarCalendar.cs (3)
1187throw new ArgumentOutOfRangeException( 1205throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 1209throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (9)
77throw new ArgumentOutOfRangeException( 88throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 97throw new ArgumentOutOfRangeException( 111throw new ArgumentOutOfRangeException( 223throw new ArgumentOutOfRangeException( 335throw new ArgumentOutOfRangeException( 374throw new ArgumentOutOfRangeException( 408throw new ArgumentOutOfRangeException( 428throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (2)
80throw new ArgumentOutOfRangeException(nameof(startingTextElement), startingTextElement, SR.Arg_ArgumentOutOfRangeException); 84throw new ArgumentOutOfRangeException(nameof(lengthInTextElements), lengthInTextElements, SR.Arg_ArgumentOutOfRangeException);
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
165throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanLunisolarCalendar.cs (1)
201throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
147throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (8)
297throw new ArgumentOutOfRangeException( 312throw new ArgumentOutOfRangeException(nameof(era), era, SR.ArgumentOutOfRange_InvalidEraValue); 321throw new ArgumentOutOfRangeException( 414throw new ArgumentOutOfRangeException( 543throw new ArgumentOutOfRangeException( 582throw new ArgumentOutOfRangeException( 614throw new ArgumentOutOfRangeException( 637throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (1)
59throw new ArgumentOutOfRangeException(nameof(platform), platform, SR.Format(SR.Arg_EnumIllegalVal, platform));
src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs (8)
151throw new ArgumentOutOfRangeException( 158throw new ArgumentOutOfRangeException(nameof(maxCount), maxCount, SR.SemaphoreSlim_ctor_MaxCountWrong); 226throw new ArgumentOutOfRangeException( 260throw new ArgumentOutOfRangeException( 312throw new ArgumentOutOfRangeException( 593throw new ArgumentOutOfRangeException( 625throw new ArgumentOutOfRangeException( 788throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Threading\SpinLock.cs (2)
228throw new ArgumentOutOfRangeException( 286throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Threading\SpinWait.cs (2)
285throw new ArgumentOutOfRangeException( 307throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (2)
246throw new ArgumentOutOfRangeException( 653throw new ArgumentOutOfRangeException(
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (4)
212throw new ArgumentOutOfRangeException(nameof(month), month, SR.ArgumentOutOfRange_Month); 218throw new ArgumentOutOfRangeException(nameof(dayNumber), dayNumber, SR.ArgumentOutOfRange_DayNumber); 254throw new ArgumentOutOfRangeException(parameterName, value, SR.Format(SR.ArgumentOutOfRange_Range, minInclusive, maxInclusive)); 536throw new ArgumentOutOfRangeException(nameof(state), state, SR.Argument_UnexpectedStateForKnownCallback);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (1)
208throw new ArgumentOutOfRangeException(nameof(daylightDelta), daylightDelta, SR.ArgumentOutOfRange_UtcOffset);
System.Private.Uri (2)
System\UriExt.cs (1)
364throw new ArgumentOutOfRangeException(nameof(components), components, SR.net_uri_NotJustSerialization);
System\UriScheme.cs (1)
138throw new ArgumentOutOfRangeException(nameof(components), components, SR.net_uri_NotJustSerialization);
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\HandleCollector.cs (2)
27throw new ArgumentOutOfRangeException(nameof(initialThreshold), initialThreshold, SR.Arg_NeedNonNegNumRequired); 31throw new ArgumentOutOfRangeException(nameof(maximumThreshold), maximumThreshold, SR.Arg_NeedNonNegNumRequired);
System.Security.Cryptography (6)
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (2)
43throw new ArgumentOutOfRangeException(nameof(options), options, SR.Argument_InvalidFlag); 125throw new ArgumentOutOfRangeException(nameof(options), options, SR.Argument_InvalidFlag);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.cs (1)
172throw new ArgumentOutOfRangeException(
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
51throw new ArgumentOutOfRangeException(
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (1)
77throw new ArgumentOutOfRangeException(
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
55throw new ArgumentOutOfRangeException(
System.ServiceModel.NetFramingBase (12)
System\ServiceModel\Channels\BufferedConnection.cs (1)
112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(buffer.Length), buffer.Length, SR.Format(
System\ServiceModel\Channels\Connection.cs (2)
127throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value,
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 74throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value,
System\ServiceModel\Channels\FramingDecoders.cs (1)
20throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(size), size, SR.ValueMustBePositive));
System\ServiceModel\Channels\FramingEncoders.cs (3)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 229throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageFrame.Offset", 314throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("messageFrame.Offset",
System\ServiceModel\Channels\OutputChannel.cs (3)
36new ArgumentOutOfRangeException(nameof(timeout), timeout, SR.SFxTimeoutOutOfRange0)); 85new ArgumentOutOfRangeException(nameof(timeout), timeout, SR.SFxTimeoutOutOfRange0)); 110new ArgumentOutOfRangeException(nameof(timeout), timeout, SR.SFxTimeoutOutOfRange0));
System.ServiceModel.NetNamedPipe (3)
System\ServiceModel\Channels\NamedPipeConnectionPoolSettings.cs (3)
49throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 55throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value,
System.ServiceModel.Syndication (2)
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
195throw new ArgumentOutOfRangeException(nameof(value), value.Value, SR.InvalidTimeToLiveValue);
System\ServiceModel\XmlBuffer.cs (1)
46throw new ArgumentOutOfRangeException(nameof(maxBufferSize), maxBufferSize, SR.ValueMustBeNonNegative);
System.ServiceModel.UnixDomainSocket (7)
System\ServiceModel\Channels\SocketConnection.cs (2)
160throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(buffer.Length), buffer.Length, SR.ValueMustBeNonNegative)); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(buffer.Length), buffer.Length, SR.ValueMustBePositive));
System\ServiceModel\Channels\UnixDomainSocketConnectionPoolSettings.cs (5)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 53throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 74throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value, 89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value), value,
System.Threading (2)
System\Threading\Barrier.cs (2)
571throw new System.ArgumentOutOfRangeException(nameof(timeout), timeout, 632throw new System.ArgumentOutOfRangeException(nameof(millisecondsTimeout), millisecondsTimeout,
System.Threading.RateLimiting (8)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (2)
84throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit)); 123throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit));
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (2)
105throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit)); 141throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit));
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
118throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit)); 153throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit));
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
112throw new ArgumentOutOfRangeException(nameof(tokenCount), tokenCount, SR.Format(SR.TokenLimitExceeded, tokenCount, _options.TokenLimit)); 146throw new ArgumentOutOfRangeException(nameof(tokenCount), tokenCount, SR.Format(SR.TokenLimitExceeded, tokenCount, _options.TokenLimit));
System.Windows.Forms (44)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
27465throw new ArgumentOutOfRangeException(nameof(width), width, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture))); 27470throw new ArgumentOutOfRangeException(nameof(height), height, string.Format(SR.DataGridView_SizeTooLarge, (UpperSize).ToString(CultureInfo.CurrentCulture)));
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
365throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, MinBandThickness)); 369throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumWidthSmallerThanOne, MinBandThickness));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (4)
243throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewColumn_DisplayIndexTooLarge, int.MaxValue)); 250throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexNegative); 255throw new ArgumentOutOfRangeException(nameof(value), value, SR.DataGridViewColumn_DisplayIndexExceedsColumnCount); 277throw new ArgumentOutOfRangeException(nameof(DisplayIndex), value, SR.DataGridViewColumn_DisplayIndexTooNegative);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
323throw new ArgumentOutOfRangeException(nameof(DropDownWidth), value, string.Format(SR.DataGridViewComboBoxCell_DropDownWidthOutOfRange, 1)); 383throw new ArgumentOutOfRangeException(
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeightInfoNeededEventArgs.cs (1)
43throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.DataGridViewBand_MinimumHeightSmallerThanOne, DataGridViewBand.MinBandThickness));
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
605throw new ArgumentOutOfRangeException( 661throw new ArgumentOutOfRangeException( 876throw new ArgumentOutOfRangeException(
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
159throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Width", value.Width, 1, s_maxImageWidth)); 164throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Height", value.Height, 1, s_maxImageHeight));
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
178throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaStart); 183throw new ArgumentOutOfRangeException(nameof(LinkArea), value, SR.LinkLabelAreaLength);
System\Windows\Forms\Controls\ListView\ListView.CheckedIndexCollection.cs (1)
95throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
510throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ListView\ListView.cs (3)
3222throw new ArgumentOutOfRangeException(nameof(searchDirection), searchDirection, string.Format(SR.InvalidArgument, nameof(searchDirection), searchDirection)); 3591? throw new ArgumentOutOfRangeException( 3668? throw new ArgumentOutOfRangeException(
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
423throw new ArgumentOutOfRangeException(nameof(index), index, string.Format(SR.InvalidArgument, nameof(index), index));
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
478throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum)));
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1852throw new ArgumentOutOfRangeException(nameof(end), end, string.Format(SR.RichTextFindEndInvalid, end));
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
522throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(ItemSize), value)); 591throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Padding), value));
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (3)
283throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarLargeChangeError, value)); 486throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TrackBarSmallChangeError, value)); 620throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'"));
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
73throw new ArgumentOutOfRangeException(nameof(item), item, string.Format(SR.InvalidArgument, nameof(item), item));
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
320throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
526throw new ArgumentOutOfRangeException(nameof(value), value, SR.BlinkRateMustBeZeroOrMore);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
116throw new ArgumentOutOfRangeException(nameof(value), value, SR.ContainerControlInvalidAutoScaleDimensions);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (6)
1261throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1268throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value)); 1290throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value.ToString())); 1297throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel2MinSize), value)); 1319throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value)); 1326throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(SplitterWidth), value));
System\Windows\Forms\NotifyIcon.cs (1)
244throw new ArgumentOutOfRangeException(nameof(Text), value, SR.TrayIcon_TextTooLong);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
105throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(AutoScrollMargin), value));
System\Windows\Forms\Timer.cs (1)
144throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.TimerInvalidInterval, value, 0));
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\Exceptions.cs (1)
208return new ArgumentOutOfRangeException(valueName, value, message);
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\WindowsIPAddress.cs (4)
176throw new ArgumentOutOfRangeException(nameof(row), row, SR.GridRowOutOfRange); 181throw new ArgumentOutOfRangeException(nameof(column), column, SR.GridColumnOutOfRange); 373throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 377throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsListView.cs (2)
742throw new ArgumentOutOfRangeException(nameof(row), row, SR.GridRowOutOfRange); 747throw new ArgumentOutOfRangeException(nameof(column), column, SR.GridColumnOutOfRange);
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (2)
367throw new ArgumentOutOfRangeException(nameof(row), row, SR.GridRowOutOfRange); 372throw new ArgumentOutOfRangeException(nameof(column), column, SR.GridColumnOutOfRange);
MS\Internal\AutomationProxies\WindowsListViewScroll.cs (2)
70throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 74throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
680throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 684throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
277throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 281throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
256throw new ArgumentOutOfRangeException(nameof(row), row, SR.GridRowOutOfRange); 261throw new ArgumentOutOfRangeException(nameof(column), column, SR.GridColumnOutOfRange);
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
216throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMax); 220throw new ArgumentOutOfRangeException("value", val, SR.RangeValueMin);