1357 references to ArgumentOutOfRangeException
Aspire.EndToEnd.Tests (2)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (2)
66_ => throw new ArgumentOutOfRangeException(nameof(DefaultTargetFramework)) 289_ => throw new ArgumentOutOfRangeException(nameof(tfm))
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
27_ => throw new ArgumentOutOfRangeException(nameof(operation))
Aspire.Workload.Tests (6)
NewUpAndBuildStandaloneTemplateTests.cs (2)
23_ => throw new ArgumentOutOfRangeException(nameof(sdk)) 31_ => throw new ArgumentOutOfRangeException(nameof(templates))
NewUpAndBuildSupportProjectTemplatesTests.cs (2)
27_ => throw new ArgumentOutOfRangeException(nameof(sdk)) 35_ => throw new ArgumentOutOfRangeException(nameof(templates))
tests\Shared\WorkloadTesting\BuildEnvironment.cs (2)
66_ => throw new ArgumentOutOfRangeException(nameof(DefaultTargetFramework)) 289_ => throw new ArgumentOutOfRangeException(nameof(tfm))
CodeGenerator (2)
HttpUtilities\HttpUtilitiesGeneratorHelpers.cs (2)
59throw new ArgumentOutOfRangeException(nameof(bitsIndexStart)); 64throw new ArgumentOutOfRangeException(nameof(bitsCount));
csc (1)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
181throw new ArgumentOutOfRangeException($"Request is over {MaximumRequestSize >> 20}MB in length");
dotnet-svcutil-lib (217)
FrameworkFork\Microsoft.Xml\Xml\Base64Decoder.cs (6)
58throw new ArgumentOutOfRangeException("len"); 62throw new ArgumentOutOfRangeException("startPos"); 66throw new ArgumentOutOfRangeException("len"); 93throw new ArgumentOutOfRangeException("len"); 97throw new ArgumentOutOfRangeException("startPos"); 101throw new ArgumentOutOfRangeException("len");
FrameworkFork\Microsoft.Xml\Xml\Base64Encoder.cs (3)
38throw new ArgumentOutOfRangeException("index"); 42throw new ArgumentOutOfRangeException("count"); 46throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
715throw new ArgumentOutOfRangeException("i"); 771throw new ArgumentOutOfRangeException("i");
FrameworkFork\Microsoft.Xml\Xml\BinHexDecoder.cs (6)
51throw new ArgumentOutOfRangeException("len"); 55throw new ArgumentOutOfRangeException("startPos"); 59throw new ArgumentOutOfRangeException("len"); 87throw new ArgumentOutOfRangeException("len"); 91throw new ArgumentOutOfRangeException("startPos"); 95throw new ArgumentOutOfRangeException("len");
FrameworkFork\Microsoft.Xml\Xml\BinHexEncoder.cs (6)
23throw new ArgumentOutOfRangeException("index"); 27throw new ArgumentOutOfRangeException("count"); 31throw new ArgumentOutOfRangeException("count"); 54throw new ArgumentOutOfRangeException("offsetIn"); 58throw new ArgumentOutOfRangeException("count"); 62throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (7)
119throw new ArgumentOutOfRangeException("value"); 189throw new ArgumentOutOfRangeException("start"); 193throw new ArgumentOutOfRangeException("count"); 244throw new ArgumentOutOfRangeException("start"); 248throw new ArgumentOutOfRangeException("count"); 367throw new ArgumentOutOfRangeException("startIndex"); 371throw new ArgumentOutOfRangeException("len");
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (12)
76throw new ArgumentOutOfRangeException("count"); 80throw new ArgumentOutOfRangeException("index"); 84throw new ArgumentOutOfRangeException("count"); 132throw new ArgumentOutOfRangeException("count"); 136throw new ArgumentOutOfRangeException("index"); 140throw new ArgumentOutOfRangeException("count"); 188throw new ArgumentOutOfRangeException("count"); 192throw new ArgumentOutOfRangeException("index"); 196throw new ArgumentOutOfRangeException("count"); 244throw new ArgumentOutOfRangeException("count"); 248throw new ArgumentOutOfRangeException("index"); 252throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelperAsync.cs (12)
26throw new ArgumentOutOfRangeException("count"); 30throw new ArgumentOutOfRangeException("index"); 34throw new ArgumentOutOfRangeException("count"); 82throw new ArgumentOutOfRangeException("count"); 86throw new ArgumentOutOfRangeException("index"); 90throw new ArgumentOutOfRangeException("count"); 138throw new ArgumentOutOfRangeException("count"); 142throw new ArgumentOutOfRangeException("index"); 146throw new ArgumentOutOfRangeException("count"); 194throw new ArgumentOutOfRangeException("count"); 198throw new ArgumentOutOfRangeException("index"); 202throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (6)
500throw new ArgumentOutOfRangeException("count"); 504throw new ArgumentOutOfRangeException("index"); 508throw new ArgumentOutOfRangeException("count"); 561throw new ArgumentOutOfRangeException("count"); 565throw new ArgumentOutOfRangeException("index"); 569throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReaderAsync.cs (6)
316throw new ArgumentOutOfRangeException("count"); 320throw new ArgumentOutOfRangeException("index"); 324throw new ArgumentOutOfRangeException("count"); 377throw new ArgumentOutOfRangeException("count"); 381throw new ArgumentOutOfRangeException("index"); 385throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingWriter.cs (3)
293throw new ArgumentOutOfRangeException("index"); 297throw new ArgumentOutOfRangeException("count"); 301throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (1)
656throw new ArgumentOutOfRangeException("i");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderSettings.cs (6)
188throw new ArgumentOutOfRangeException("value"); 218throw new ArgumentOutOfRangeException("value"); 235throw new ArgumentOutOfRangeException("value"); 307throw new ArgumentOutOfRangeException("value"); 338throw new ArgumentOutOfRangeException("value"); 358throw new ArgumentOutOfRangeException("value");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (7)
291throw new ArgumentOutOfRangeException("i"); 304throw new ArgumentOutOfRangeException("i"); 358throw new ArgumentOutOfRangeException("i"); 373throw new ArgumentOutOfRangeException("i"); 1569throw new ArgumentOutOfRangeException("count"); 1573throw new ArgumentOutOfRangeException("index"); 1577throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextEncoder.cs (6)
128throw new ArgumentOutOfRangeException("offset"); 133throw new ArgumentOutOfRangeException("count"); 138throw new ArgumentOutOfRangeException("count"); 491throw new ArgumentOutOfRangeException("count"); 496throw new ArgumentOutOfRangeException("offset"); 501throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (20)
1078throw new ArgumentOutOfRangeException("i"); 1140throw new ArgumentOutOfRangeException("i"); 1608throw new ArgumentOutOfRangeException("count"); 1612throw new ArgumentOutOfRangeException("index"); 1616throw new ArgumentOutOfRangeException("count"); 1668throw new ArgumentOutOfRangeException("count"); 1672throw new ArgumentOutOfRangeException("index"); 1676throw new ArgumentOutOfRangeException("count"); 1727throw new ArgumentOutOfRangeException("count"); 1731throw new ArgumentOutOfRangeException("index"); 1735throw new ArgumentOutOfRangeException("count"); 1787throw new ArgumentOutOfRangeException("count"); 1791throw new ArgumentOutOfRangeException("index"); 1795throw new ArgumentOutOfRangeException("count"); 1860throw new ArgumentOutOfRangeException("count"); 1864throw new ArgumentOutOfRangeException("index"); 1868throw new ArgumentOutOfRangeException("count"); 2137throw new ArgumentOutOfRangeException("value"); 8287throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? "count" : "len"); 8291throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? "index" : "offset");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (9)
1114throw new ArgumentOutOfRangeException("index"); 1118throw new ArgumentOutOfRangeException("count"); 1122throw new ArgumentOutOfRangeException("count"); 1152throw new ArgumentOutOfRangeException("index"); 1156throw new ArgumentOutOfRangeException("count"); 1160throw new ArgumentOutOfRangeException("count"); 1216throw new ArgumentOutOfRangeException("index"); 1220throw new ArgumentOutOfRangeException("count"); 1224throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriterSettings.cs (3)
134throw new ArgumentOutOfRangeException("value"); 235throw new ArgumentOutOfRangeException("value"); 267throw new ArgumentOutOfRangeException("value");
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (2)
286throw new ArgumentOutOfRangeException("i"); 368throw new ArgumentOutOfRangeException("i");
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
1233throw new ArgumentOutOfRangeException("i");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (6)
43throw new ArgumentOutOfRangeException("index"); 50throw new ArgumentOutOfRangeException("index"); 91throw new ArgumentOutOfRangeException("index"); 101throw new ArgumentOutOfRangeException("index"); 111throw new ArgumentOutOfRangeException("index"); 139throw new ArgumentOutOfRangeException("index");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (5)
366throw new ArgumentOutOfRangeException("attributeIndex"); 558throw new ArgumentOutOfRangeException("attributeIndex"); //for other senario, AttributeCount is 0, i has to be out of range 1368throw new ArgumentOutOfRangeException("attributeIndex"); 1419throw new ArgumentOutOfRangeException("attributeIndex"); 1432throw new ArgumentOutOfRangeException("attributeIndex");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (1)
110throw new ArgumentOutOfRangeException("offset");
FrameworkFork\Microsoft.Xml\Xml\Resolvers\XmlPreloadedResolver.cs (3)
311throw new ArgumentOutOfRangeException("count"); 315throw new ArgumentOutOfRangeException("offset"); 319throw new ArgumentOutOfRangeException("count");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (3)
268throw new ArgumentOutOfRangeException("index"); 284throw new ArgumentOutOfRangeException("index"); 292throw new ArgumentOutOfRangeException("index");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaObjectTable.cs (2)
221throw new ArgumentOutOfRangeException("arrayIndex"); 276throw new ArgumentOutOfRangeException("arrayIndex");
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (1)
804throw new ArgumentOutOfRangeException("index");
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (7)
50if (years < 0) throw new ArgumentOutOfRangeException("years"); 51if (months < 0) throw new ArgumentOutOfRangeException("months"); 52if (days < 0) throw new ArgumentOutOfRangeException("days"); 53if (hours < 0) throw new ArgumentOutOfRangeException("hours"); 54if (minutes < 0) throw new ArgumentOutOfRangeException("minutes"); 55if (seconds < 0) throw new ArgumentOutOfRangeException("seconds"); 56if (nanoseconds < 0 || nanoseconds > 999999999) throw new ArgumentOutOfRangeException("nanoseconds");
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (1)
559throw new ArgumentOutOfRangeException("index");
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (1)
28throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(string.Format(SRSerialization.XmlInvalidID)));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TimeoutHelper.cs (1)
275throw new ArgumentOutOfRangeException("Invalid millisecondsTimeout value " + millisecondsTimeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpMessageSecurity.cs (1)
32throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpSecurity.cs (1)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurity.cs (2)
24throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("mode")); 46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurityMode.cs (1)
49throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("mode"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElement.cs (2)
84throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 114throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DirectionalAction.cs (1)
19throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("direction"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (4)
59throw new ArgumentOutOfRangeException("offset"); 63throw new ArgumentOutOfRangeException("count"); 116throw new ArgumentOutOfRangeException("offset"); 120throw new ArgumentOutOfRangeException("count");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\QueuedObjectPool.cs (1)
40throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("batchAllocCount"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
157throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 265throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElementImporter.cs (1)
109throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
70throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
156throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (2)
110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 134throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\FaultDescription.cs (1)
76throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (2)
31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("direction")); 105throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (1)
119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationDescription.cs (1)
85throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
155throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultCode.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("name"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultContractAttribute.cs (1)
80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\FederatedMessageSecurityOverHttp.cs (1)
118throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (1)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractAttribute.cs (1)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractMemberAttribute.cs (1)
79throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverHttp.cs (1)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (1)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\NamedPipeTransportSecurity.cs (1)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetNamedPipeSecurity.cs (1)
35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpContextBinding.cs (1)
65throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpSecurity.cs (1)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationContractAttribute.cs (1)
68throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
402throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 419throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTokenAttachmentMode.cs (1)
64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversation.cs (1)
114throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("tokenReferenceStyle"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (2)
306throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("tokenReferenceStyle")); 437throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("tokenReferenceStyle"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (6)
1528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("layout")); 1651throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("suite")); 1900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("parameters")); 1962throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("inclusionMode")); 2083throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("referenceStyle")); 2249throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("referenceStyle"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (1)
124throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("tokenReferenceStyle"));
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceContractAttribute.cs (2)
78throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 96throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\TcpTransportSecurity.cs (2)
37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 51throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpSecurity.cs (1)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpContextBinding.cs (1)
73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpSecurity.cs (1)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
FrameworkFork\System.ServiceModel\System\ServiceModel\XmlSerializerFormatAttribute.cs (2)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value")); 64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
Extensibility.MessageInterceptor.IntegrationTests (1)
TimeoutHelper.cs (1)
22throw new ArgumentOutOfRangeException("timeout");
illink (4)
InMemory.FunctionalTests (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (2)
96throw new ArgumentOutOfRangeException(nameof(spanNum)); 104throw new ArgumentOutOfRangeException(nameof(spanNum));
Microsoft.Analyzers.Local.Tests (3)
Resources\RoslynTestUtils.cs (2)
96throw new ArgumentOutOfRangeException(nameof(spanNum)); 104throw new ArgumentOutOfRangeException(nameof(spanNum));
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Arcade.Common (1)
CompactConsoleLoggerFormatter.cs (1)
112_ => throw new ArgumentOutOfRangeException(nameof(logLevel))
Microsoft.AspNetCore.Antiforgery (2)
Internal\BinaryBlob.cs (2)
28throw new ArgumentOutOfRangeException(nameof(bitLength)); 32throw new ArgumentOutOfRangeException(nameof(data));
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedSeparatedSyntaxNodeList.cs (1)
72throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.AspNetCore.Components (2)
src\Components\Shared\src\ArrayBuilder.cs (1)
214throw new ArgumentOutOfRangeException("index");
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
449throw new ArgumentOutOfRangeException(nameof(arrayIndex));
Microsoft.AspNetCore.Components.Server (8)
BlazorPack\Requires.cs (1)
28throw new ArgumentOutOfRangeException(paramName);
src\Components\Shared\src\ArrayBuilder.cs (1)
214throw new ArgumentOutOfRangeException("index");
src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
112=> throw new ArgumentOutOfRangeException(name);
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequenceReader.cs (5)
239throw new ArgumentOutOfRangeException(nameof(count)); 256throw new ArgumentOutOfRangeException("Rewind went past the start of the memory."); 355throw new ArgumentOutOfRangeException(nameof(count)); 411throw new ArgumentOutOfRangeException(nameof(count)); 444throw new ArgumentOutOfRangeException(nameof(count));
Microsoft.AspNetCore.Components.Web (1)
JSComponents\JSComponentInterop.cs (1)
87throw new ArgumentOutOfRangeException($"{nameof(parameterCount)} must be between 0 and {MaxParameters}.");
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\WebAssemblyConsoleLogger.cs (1)
155throw new ArgumentOutOfRangeException(nameof(logLevel));
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\ArrayBuilder.cs (1)
214throw new ArgumentOutOfRangeException("index");
src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
112=> throw new ArgumentOutOfRangeException(name);
Microsoft.AspNetCore.Cryptography.KeyDerivation (2)
KeyDerivation.cs (1)
36throw new ArgumentOutOfRangeException(nameof(prf));
PBKDF2\NetCorePbkdf2Provider.cs (1)
37throw new ArgumentOutOfRangeException(nameof(prf));
Microsoft.AspNetCore.DataProtection (6)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (5)
130throw new ArgumentOutOfRangeException(nameof(algorithm)); 147throw new ArgumentOutOfRangeException(nameof(algorithm)); 162throw new ArgumentOutOfRangeException(nameof(algorithm)); 180throw new ArgumentOutOfRangeException(nameof(algorithm)); 196throw new ArgumentOutOfRangeException(nameof(algorithm));
DataProtectionBuilderExtensions.cs (1)
407throw new ArgumentOutOfRangeException(Resources.FormatLifetimeMustNotBeNegative(nameof(lifetime)));
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.HeaderParsing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.AspNetCore.Hosting (4)
Internal\HostingApplicationDiagnostics.cs (1)
512throw new ArgumentOutOfRangeException(nameof(index));
Internal\HostingRequestFinishedLog.cs (1)
47_ => throw new ArgumentOutOfRangeException(nameof(index)),
Internal\HostingRequestStartingLog.cs (1)
35_ => throw new ArgumentOutOfRangeException(nameof(index)),
Internal\HostingRequestUnhandledLog.cs (1)
30_ => throw new ArgumentOutOfRangeException(nameof(index)),
Microsoft.AspNetCore.Http (1)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
299throw new ArgumentOutOfRangeException(nameof(arrayIndex));
Microsoft.AspNetCore.Http.Abstractions (21)
EndpointFilterInvocationContextOfT.Generated.cs (20)
25_ => new ArgumentOutOfRangeException(nameof(index)) 96_ => throw new ArgumentOutOfRangeException(nameof(index)) 149_ => new ArgumentOutOfRangeException(nameof(index)) 225_ => throw new ArgumentOutOfRangeException(nameof(index)) 280_ => new ArgumentOutOfRangeException(nameof(index)) 361_ => throw new ArgumentOutOfRangeException(nameof(index)) 418_ => new ArgumentOutOfRangeException(nameof(index)) 504_ => throw new ArgumentOutOfRangeException(nameof(index)) 563_ => new ArgumentOutOfRangeException(nameof(index)) 654_ => throw new ArgumentOutOfRangeException(nameof(index)) 715_ => new ArgumentOutOfRangeException(nameof(index)) 811_ => throw new ArgumentOutOfRangeException(nameof(index)) 874_ => new ArgumentOutOfRangeException(nameof(index)) 975_ => throw new ArgumentOutOfRangeException(nameof(index)) 1040_ => new ArgumentOutOfRangeException(nameof(index)) 1146_ => throw new ArgumentOutOfRangeException(nameof(index)) 1213_ => new ArgumentOutOfRangeException(nameof(index)) 1324_ => throw new ArgumentOutOfRangeException(nameof(index)) 1393_ => new ArgumentOutOfRangeException(nameof(index)) 1509_ => throw new ArgumentOutOfRangeException(nameof(index))
Routing\RouteValueDictionary.cs (1)
449throw new ArgumentOutOfRangeException(nameof(arrayIndex));
Microsoft.AspNetCore.Http.Connections (1)
Internal\ConnectionLogScope.cs (1)
29throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\ConnectionLogScope.cs (1)
37throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
191throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
219private static Exception CreateArgumentOutOfRangeException(string argumentName) { return new ArgumentOutOfRangeException(argumentName); }
Microsoft.AspNetCore.Mvc.Core (35)
Diagnostics\MvcDiagnostics.cs (28)
58_ => throw new ArgumentOutOfRangeException(nameof(index)) 109_ => throw new ArgumentOutOfRangeException(nameof(index)) 160_ => throw new ArgumentOutOfRangeException(nameof(index)) 211_ => throw new ArgumentOutOfRangeException(nameof(index)) 262_ => throw new ArgumentOutOfRangeException(nameof(index)) 313_ => throw new ArgumentOutOfRangeException(nameof(index)) 364_ => throw new ArgumentOutOfRangeException(nameof(index)) 415_ => throw new ArgumentOutOfRangeException(nameof(index)) 466_ => throw new ArgumentOutOfRangeException(nameof(index)) 517_ => throw new ArgumentOutOfRangeException(nameof(index)) 568_ => throw new ArgumentOutOfRangeException(nameof(index)) 619_ => throw new ArgumentOutOfRangeException(nameof(index)) 670_ => throw new ArgumentOutOfRangeException(nameof(index)) 721_ => throw new ArgumentOutOfRangeException(nameof(index)) 772_ => throw new ArgumentOutOfRangeException(nameof(index)) 823_ => throw new ArgumentOutOfRangeException(nameof(index)) 874_ => throw new ArgumentOutOfRangeException(nameof(index)) 925_ => throw new ArgumentOutOfRangeException(nameof(index)) 976_ => throw new ArgumentOutOfRangeException(nameof(index)) 1035_ => throw new ArgumentOutOfRangeException(nameof(index)) 1086_ => throw new ArgumentOutOfRangeException(nameof(index)) 1137_ => throw new ArgumentOutOfRangeException(nameof(index)) 1188_ => throw new ArgumentOutOfRangeException(nameof(index)) 1239_ => throw new ArgumentOutOfRangeException(nameof(index)) 1290_ => throw new ArgumentOutOfRangeException(nameof(index)) 1341_ => throw new ArgumentOutOfRangeException(nameof(index)) 1384_ => throw new ArgumentOutOfRangeException(nameof(index)) 1427_ => throw new ArgumentOutOfRangeException(nameof(index))
Formatters\MediaType.cs (2)
52throw new ArgumentOutOfRangeException(nameof(offset)); 59throw new ArgumentOutOfRangeException(nameof(length));
Formatters\MediaTypeCollection.cs (1)
34throw new ArgumentOutOfRangeException(nameof(index));
ModelBinding\Validation\ValidationVisitor.cs (1)
125throw new ArgumentOutOfRangeException(nameof(value));
MvcCoreLoggerExtensions.cs (1)
303throw new ArgumentOutOfRangeException(nameof(index));
MvcOptions.cs (1)
250throw new ArgumentOutOfRangeException(nameof(value));
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
191throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.Mvc.Razor (2)
Diagnostics\MvcDiagnostics.cs (2)
68_ => throw new ArgumentOutOfRangeException(nameof(index)) 129_ => throw new ArgumentOutOfRangeException(nameof(index))
Microsoft.AspNetCore.Mvc.RazorPages (12)
Diagnostics\MvcDiagnostics.cs (12)
65_ => throw new ArgumentOutOfRangeException(nameof(index)) 132_ => throw new ArgumentOutOfRangeException(nameof(index)) 183_ => throw new ArgumentOutOfRangeException(nameof(index)) 234_ => throw new ArgumentOutOfRangeException(nameof(index)) 285_ => throw new ArgumentOutOfRangeException(nameof(index)) 336_ => throw new ArgumentOutOfRangeException(nameof(index)) 387_ => throw new ArgumentOutOfRangeException(nameof(index)) 438_ => throw new ArgumentOutOfRangeException(nameof(index)) 489_ => throw new ArgumentOutOfRangeException(nameof(index)) 540_ => throw new ArgumentOutOfRangeException(nameof(index)) 591_ => throw new ArgumentOutOfRangeException(nameof(index)) 642_ => throw new ArgumentOutOfRangeException(nameof(index))
Microsoft.AspNetCore.Mvc.ViewFeatures (14)
AttributeDictionary.cs (3)
231throw new ArgumentOutOfRangeException(nameof(arrayIndex)); 410throw new ArgumentOutOfRangeException(nameof(arrayIndex)); 515throw new ArgumentOutOfRangeException(nameof(arrayIndex));
Buffers\ViewBuffer.cs (1)
78throw new ArgumentOutOfRangeException(nameof(index));
Buffers\ViewBufferTextWriter.cs (1)
191throw new ArgumentOutOfRangeException(nameof(count));
Diagnostics\MvcDiagnostics.cs (8)
58_ => throw new ArgumentOutOfRangeException(nameof(index)) 117_ => throw new ArgumentOutOfRangeException(nameof(index)) 167_ => throw new ArgumentOutOfRangeException(nameof(index)) 218_ => throw new ArgumentOutOfRangeException(nameof(index)) 261_ => throw new ArgumentOutOfRangeException(nameof(index)) 304_ => throw new ArgumentOutOfRangeException(nameof(index)) 375_ => throw new ArgumentOutOfRangeException(nameof(index)) 446_ => throw new ArgumentOutOfRangeException(nameof(index))
ViewComponents\DefaultViewComponentInvoker.cs (1)
305throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
191throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.OutputCaching (1)
RecyclableArrayBufferWriter.cs (1)
58=> throw new ArgumentOutOfRangeException(nameof(count));
Microsoft.AspNetCore.Owin (1)
WebSockets\WebSocketAdapter.cs (1)
115throw new ArgumentOutOfRangeException(nameof(buffer));
Microsoft.AspNetCore.Rewrite (3)
RewriteMiddleware.cs (1)
111throw new ArgumentOutOfRangeException($"Invalid rule termination {rewriteContext.Result}");
UrlMatches\IntegerMatch.cs (1)
30throw new ArgumentOutOfRangeException(nameof(operation));
UrlMatches\StringMatch.cs (1)
19throw new ArgumentOutOfRangeException(nameof(operation));
Microsoft.AspNetCore.Routing (2)
Constraints\HttpMethodRouteConstraint.cs (1)
73throw new ArgumentOutOfRangeException(nameof(routeDirection));
Matching\CandidateSet.cs (1)
359throw new ArgumentOutOfRangeException("index");
Microsoft.AspNetCore.Server.HttpSys (4)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
TimeoutManager.cs (2)
159throw new ArgumentOutOfRangeException(nameof(value)); 186throw new ArgumentOutOfRangeException(nameof(value));
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\ConnectionLogScope.cs (1)
29throw new ArgumentOutOfRangeException(nameof(index));
Internal\Http\HttpHeaders.cs (1)
681throw new ArgumentOutOfRangeException(CoreStrings.FormatInvalidContentLength_InvalidNumber(value));
Internal\Http\HttpProtocol.cs (1)
1461throw new ArgumentOutOfRangeException(nameof(bytes));
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
405private static Exception CreateArgumentOutOfRangeException(string argumentName) { return new ArgumentOutOfRangeException(argumentName); }
Internal\Infrastructure\ResourceCounter.cs (1)
33throw new ArgumentOutOfRangeException(CoreStrings.NonNegativeNumberRequired);
Internal\ThrowHelper.cs (1)
19return new ArgumentOutOfRangeException(GetArgumentName(argument));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
src\Shared\Buffers.MemoryPool\MemoryPoolThrowHelper.cs (2)
23return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.offset)); 27return new ArgumentOutOfRangeException(GetArgumentName(ExceptionArgument.length));
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
299throw new ArgumentOutOfRangeException(nameof(arrayIndex));
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
191throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.SignalR.Client.Core (1)
Internal\ConnectionLogScope.cs (1)
38throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.SignalR.Core (1)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
191throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.AspNetCore.Testing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.AspNetCore.WebUtilities (2)
HttpRequestStreamReader.cs (2)
160throw new ArgumentOutOfRangeException(nameof(count)); 221throw new ArgumentOutOfRangeException(nameof(count));
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
MultipartReaderBenchmark.cs (1)
88throw new ArgumentOutOfRangeException(nameof(SectionCount));
Microsoft.Build (11)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (4)
340throw new ArgumentOutOfRangeException(nameof(length)); 345throw new ArgumentOutOfRangeException(nameof(index)); 665throw new ArgumentOutOfRangeException(nameof(arrayIndex)); 671throw new ArgumentOutOfRangeException(nameof(count));
ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
148throw new ArgumentOutOfRangeException(nameof(count));
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
261throw new ArgumentOutOfRangeException(nameof(stream));
Utilities\SimpleVersion.cs (4)
53throw new ArgumentOutOfRangeException(nameof(major)); 58throw new ArgumentOutOfRangeException(nameof(minor)); 63throw new ArgumentOutOfRangeException(nameof(build)); 68throw new ArgumentOutOfRangeException(nameof(revision));
Microsoft.Build.Engine.OM.UnitTests (1)
ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
148throw new ArgumentOutOfRangeException(nameof(index));
Evaluation\Expander_Tests.cs (1)
4008_ => throw new ArgumentOutOfRangeException(nameof(hashType))
Microsoft.Build.Framework (4)
SegmentedArray.cs (2)
32throw new ArgumentOutOfRangeException(nameof(length)); 52throw new ArgumentOutOfRangeException(nameof(length));
SegmentedArray`1.cs (1)
73throw new ArgumentOutOfRangeException(nameof(length));
ThrowHelper.cs (1)
153throw new ArgumentOutOfRangeException(GetArgumentName(argument));
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
181throw new ArgumentOutOfRangeException($"Request is over {MaximumRequestSize >> 20}MB in length");
Microsoft.Build.Tasks.Core (3)
ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
StreamMappedString.cs (2)
159throw new ArgumentOutOfRangeException(nameof(offset)); 382throw new ArgumentOutOfRangeException(nameof(length));
Microsoft.Build.Utilities.Core (1)
ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
Microsoft.Cci.Extensions (3)
Comparers\ApiComparer.cs (1)
118throw new ArgumentOutOfRangeException("kind");
Extensions\CustomAttributeProvider.cs (1)
88throw new ArgumentOutOfRangeException(nameof(typeCode));
Mappings\ElementMapping.cs (1)
50throw new ArgumentOutOfRangeException("index");
Microsoft.CodeAnalysis (93)
Collections\ImmutableMemoryStream.cs (4)
58throw new ArgumentOutOfRangeException(nameof(value)); 97throw new ArgumentOutOfRangeException(nameof(origin)); 102throw new ArgumentOutOfRangeException(nameof(offset)); 107throw new ArgumentOutOfRangeException(nameof(offset));
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (1)
50throw new ArgumentOutOfRangeException(nameof(errorCode));
DiaSymReader\Writer\SymUnmanagedSequencePointsWriter.cs (2)
26throw new ArgumentOutOfRangeException(nameof(capacity)); 62throw new ArgumentOutOfRangeException(nameof(documentIndex));
DiaSymReader\Writer\SymUnmanagedWriterImpl.cs (4)
215throw new ArgumentOutOfRangeException(nameof(documentIndex)); 226throw new ArgumentOutOfRangeException(nameof(count)); 491throw new ArgumentOutOfRangeException(nameof(yieldOffsets)); 677throw new ArgumentOutOfRangeException(nameof(documentIndex));
Emit\RuntimeRudeEdit.cs (1)
34throw new ArgumentOutOfRangeException(nameof(errorCode));
Emit\SemanticEdit.cs (2)
108throw new ArgumentOutOfRangeException(nameof(kind)); 169throw new ArgumentOutOfRangeException(nameof(kind));
Hashing\NonCryptographicHashAlgorithm.cs (1)
42throw new ArgumentOutOfRangeException(nameof(hashLengthInBytes));
InternalUtilities\ConcurrentLruCache.cs (1)
37throw new ArgumentOutOfRangeException(nameof(capacity));
InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (3)
112throw new ArgumentOutOfRangeException(nameof(origin)); 117throw new ArgumentOutOfRangeException(nameof(offset)); 122throw new ArgumentOutOfRangeException(nameof(offset));
InternalUtilities\SpecializedCollections.Empty.List.cs (1)
48throw new ArgumentOutOfRangeException(nameof(index));
InternalUtilities\WeakList.cs (1)
144throw new ArgumentOutOfRangeException(nameof(index));
MetadataReference\AssemblyIdentity.cs (1)
124throw new ArgumentOutOfRangeException(nameof(version));
MetadataReference\MetadataReferenceProperties.cs (1)
42throw new ArgumentOutOfRangeException(nameof(kind));
Operations\ControlFlowGraph.cs (2)
238throw new ArgumentOutOfRangeException(nameof(localFunction)); 287throw new ArgumentOutOfRangeException(nameof(anonymousFunction));
Operations\ControlFlowGraphExtensions.cs (2)
40throw new ArgumentOutOfRangeException(nameof(localFunction)); 71throw new ArgumentOutOfRangeException(nameof(anonymousFunction));
Operations\OperationExtensions.cs (2)
242throw new ArgumentOutOfRangeException(nameof(index)); 309throw new ArgumentOutOfRangeException(nameof(index));
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
SymbolDisplay\SymbolDisplayPart.cs (1)
44throw new ArgumentOutOfRangeException(nameof(kind));
Syntax\ChildSyntaxList.cs (1)
72throw new ArgumentOutOfRangeException(nameof(index));
Syntax\SeparatedSyntaxList.cs (6)
134throw new ArgumentOutOfRangeException(nameof(index)); 158throw new ArgumentOutOfRangeException(nameof(index)); 406throw new ArgumentOutOfRangeException(nameof(index)); 473throw new ArgumentOutOfRangeException(nameof(index)); 526throw new ArgumentOutOfRangeException(nameof(nodeInList)); 561throw new ArgumentOutOfRangeException(nameof(nodeInList));
Syntax\SyntaxList`1.cs (3)
139throw new ArgumentOutOfRangeException(nameof(index)); 258throw new ArgumentOutOfRangeException(nameof(index)); 287throw new ArgumentOutOfRangeException(nameof(index));
Syntax\SyntaxNode.cs (3)
760throw new ArgumentOutOfRangeException(nameof(position)); 966throw new ArgumentOutOfRangeException(nameof(span)); 1454throw new ArgumentOutOfRangeException(nameof(position));
Syntax\SyntaxNodeOrTokenList.cs (6)
160throw new ArgumentOutOfRangeException(nameof(index)); 312throw new ArgumentOutOfRangeException(nameof(nodeOrToken)); 327throw new ArgumentOutOfRangeException(nameof(index)); 372throw new ArgumentOutOfRangeException(nameof(index)); 404throw new ArgumentOutOfRangeException(nameof(newNodeOrToken)); 426throw new ArgumentOutOfRangeException(nameof(nodeOrTokenInList));
Syntax\SyntaxTokenList.cs (6)
144throw new ArgumentOutOfRangeException(nameof(index)); 337throw new ArgumentOutOfRangeException(nameof(token)); 352throw new ArgumentOutOfRangeException(nameof(index)); 385throw new ArgumentOutOfRangeException(nameof(index)); 417throw new ArgumentOutOfRangeException(nameof(newToken)); 439throw new ArgumentOutOfRangeException(nameof(tokenInList));
Syntax\SyntaxTriviaList.cs (6)
142throw new ArgumentOutOfRangeException(nameof(index)); 285throw new ArgumentOutOfRangeException(nameof(trivia)); 321throw new ArgumentOutOfRangeException(nameof(index)); 367throw new ArgumentOutOfRangeException(nameof(index)); 399throw new ArgumentOutOfRangeException(nameof(newTrivia)); 421throw new ArgumentOutOfRangeException(nameof(triviaInList));
Text\CompositeText.cs (5)
135throw new ArgumentOutOfRangeException(nameof(sourceIndex)); 138throw new ArgumentOutOfRangeException(nameof(destinationIndex)); 141throw new ArgumentOutOfRangeException(nameof(count)); 475throw new ArgumentOutOfRangeException(nameof(position)); 492throw new ArgumentOutOfRangeException(nameof(lineNumber));
Text\LargeText.cs (1)
186throw new ArgumentOutOfRangeException(nameof(span));
Text\LargeTextWriter.cs (2)
92throw new ArgumentOutOfRangeException(nameof(index)); 97throw new ArgumentOutOfRangeException(nameof(count));
Text\LinePosition.cs (3)
42throw new ArgumentOutOfRangeException(nameof(line)); 47throw new ArgumentOutOfRangeException(nameof(character)); 62throw new ArgumentOutOfRangeException(nameof(character));
Text\SourceText.cs (5)
264throw new ArgumentOutOfRangeException(nameof(length)); 492throw new ArgumentOutOfRangeException(nameof(span)); 525throw new ArgumentOutOfRangeException(nameof(start)); 982throw new ArgumentOutOfRangeException(nameof(index)); 1002throw new ArgumentOutOfRangeException(nameof(position));
Text\StringBuilderText.cs (2)
67throw new ArgumentOutOfRangeException(nameof(position)); 82throw new ArgumentOutOfRangeException(nameof(span));
Text\StringText.cs (1)
75throw new ArgumentOutOfRangeException(nameof(span));
Text\SubText.cs (4)
30throw new ArgumentOutOfRangeException(nameof(span)); 61throw new ArgumentOutOfRangeException(nameof(position)); 146throw new ArgumentOutOfRangeException(nameof(lineNumber)); 207throw new ArgumentOutOfRangeException(nameof(position));
Text\TextChangeRange.cs (1)
40throw new ArgumentOutOfRangeException(nameof(newLength));
Text\TextChangeRangeExtensions.cs (1)
396throw new ArgumentOutOfRangeException(nameof(change));
Text\TextLine.cs (1)
43throw new ArgumentOutOfRangeException(nameof(span));
Text\TextSpan.cs (2)
26throw new ArgumentOutOfRangeException(nameof(start)); 31throw new ArgumentOutOfRangeException(nameof(length));
Microsoft.CodeAnalysis.CodeStyle (14)
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
42throw new ArgumentOutOfRangeException(nameof(hashLengthInBytes));
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
931throw new ArgumentOutOfRangeException(nameof(size));
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.List.cs (1)
48throw new ArgumentOutOfRangeException(nameof(index));
src\Compilers\Core\Portable\Text\TextChangeRangeExtensions.cs (1)
396throw new ArgumentOutOfRangeException(nameof(change));
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSeparatedSyntaxNodeList.cs (1)
73throw new ArgumentOutOfRangeException(nameof(index));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (5)
130throw new ArgumentOutOfRangeException(nameof(value)); 147_ => throw new ArgumentOutOfRangeException(nameof(origin)), 152throw new ArgumentOutOfRangeException(nameof(offset)); 157throw new ArgumentOutOfRangeException(nameof(offset)); 301throw new ArgumentOutOfRangeException(nameof(value));
Microsoft.CodeAnalysis.Collections.Package (4)
Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
Microsoft.CodeAnalysis.CSharp (5)
Compilation\CSharpCompilation.cs (1)
4112throw new ArgumentOutOfRangeException(nameof(callingConvention));
CSharpExtensions.cs (1)
265throw new ArgumentOutOfRangeException(nameof(index));
SymbolDisplay\SymbolDisplay.cs (1)
263throw new ArgumentOutOfRangeException(CSharpResources.PositionNotWithinTree);
Symbols\ModuleSymbol.cs (1)
256throw new ArgumentOutOfRangeException(nameof(referencedAssemblyIndex));
Syntax\SyntaxTokenParser.cs (1)
97throw new ArgumentOutOfRangeException(nameof(position));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
1032throw new ArgumentOutOfRangeException(nameof(expectedSymbols));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
SignatureHelp\Presentation\Signature.cs (1)
30throw new ArgumentOutOfRangeException(nameof(selectedParameterIndex));
Microsoft.CodeAnalysis.Features (11)
Contracts\EditAndContinue\ManagedModuleMethodId.cs (2)
35throw new ArgumentOutOfRangeException(nameof(token)); 37throw new ArgumentOutOfRangeException(nameof(version));
Contracts\EditAndContinue\SourceLineUpdate.cs (2)
34throw new ArgumentOutOfRangeException(nameof(oldLine)); 36throw new ArgumentOutOfRangeException(nameof(newLine));
Contracts\EditAndContinue\SourceSpan.cs (5)
38throw new ArgumentOutOfRangeException(nameof(startLine)); 40throw new ArgumentOutOfRangeException(nameof(startColumn)); 42throw new ArgumentOutOfRangeException(nameof(endLine)); 44throw new ArgumentOutOfRangeException(nameof(endColumn)); 47throw new ArgumentOutOfRangeException(startColumn == -1 ? nameof(endColumn) : nameof(startColumn));
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6506throw new ArgumentOutOfRangeException(nameof(position));
EditAndContinue\EditAndContinueMethodDebugInfoReader.cs (1)
198throw new ArgumentOutOfRangeException(nameof(version));
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
Microsoft.CodeAnalysis.Scripting (4)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
297throw new ArgumentOutOfRangeException(nameof(kind));
Hosting\PrintOptions.cs (3)
32throw new ArgumentOutOfRangeException(nameof(value)); 65throw new ArgumentOutOfRangeException(nameof(value)); 83throw new ArgumentOutOfRangeException(nameof(value));
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableListTestBase.cs (2)
484throw new ArgumentOutOfRangeException(nameof(sortedIndex)); 486throw new ArgumentOutOfRangeException(nameof(sortedLength));
Microsoft.CodeAnalysis.Workspaces (33)
Progress\CodeAnalysisProgress.cs (2)
52IncompleteItemsValue = count >= 0 ? count : throw new ArgumentOutOfRangeException(nameof(count)), 70CompleteItemValue = count >= 1 ? count : throw new ArgumentOutOfRangeException(nameof(count)),
Shared\Extensions\SourceTextExtensions.cs (2)
333throw new ArgumentOutOfRangeException(nameof(index)); 336throw new ArgumentOutOfRangeException(nameof(count));
src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
42throw new ArgumentOutOfRangeException(nameof(hashLengthInBytes));
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
931throw new ArgumentOutOfRangeException(nameof(size));
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.List.cs (1)
48throw new ArgumentOutOfRangeException(nameof(index));
src\Compilers\Core\Portable\Text\TextChangeRangeExtensions.cs (1)
396throw new ArgumentOutOfRangeException(nameof(change));
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSeparatedSyntaxNodeList.cs (1)
73throw new ArgumentOutOfRangeException(nameof(index));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (5)
130throw new ArgumentOutOfRangeException(nameof(value)); 147_ => throw new ArgumentOutOfRangeException(nameof(origin)), 152throw new ArgumentOutOfRangeException(nameof(offset)); 157throw new ArgumentOutOfRangeException(nameof(offset)); 301throw new ArgumentOutOfRangeException(nameof(value));
TemporaryStorage\TemporaryStorageService.DirectMemoryAccessStreamReader.cs (2)
58throw new ArgumentOutOfRangeException(nameof(index)); 63throw new ArgumentOutOfRangeException(nameof(count));
Workspace\Solution\Solution.cs (12)
1251throw new ArgumentOutOfRangeException(nameof(mode)); 1272throw new ArgumentOutOfRangeException(nameof(mode)); 1293throw new ArgumentOutOfRangeException(nameof(mode)); 1314throw new ArgumentOutOfRangeException(nameof(mode)); 1335throw new ArgumentOutOfRangeException(nameof(mode)); 1356throw new ArgumentOutOfRangeException(nameof(mode)); 1373throw new ArgumentOutOfRangeException(nameof(mode)); 1409throw new ArgumentOutOfRangeException(nameof(sourceCodeKind)); 1430throw new ArgumentOutOfRangeException(nameof(mode)); 1451throw new ArgumentOutOfRangeException(nameof(mode)); 1472throw new ArgumentOutOfRangeException(nameof(mode)); 1605throw new ArgumentOutOfRangeException(nameof(mode));
Workspace\WorkspaceChangeEventArgs.cs (1)
68throw new ArgumentOutOfRangeException(nameof(kind));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
37throw new ArgumentOutOfRangeException(nameof(capacity));
src\Compilers\Core\Portable\InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (3)
112throw new ArgumentOutOfRangeException(nameof(origin)); 117throw new ArgumentOutOfRangeException(nameof(offset)); 122throw new ArgumentOutOfRangeException(nameof(offset));
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.List.cs (1)
48throw new ArgumentOutOfRangeException(nameof(index));
src\Compilers\Core\Portable\InternalUtilities\WeakList.cs (1)
144throw new ArgumentOutOfRangeException(nameof(index));
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
167throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\Dependencies\Collections\SegmentedArray.cs (2)
38throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(length));
src\Dependencies\Collections\SegmentedArray`1.cs (1)
70throw new ArgumentOutOfRangeException(nameof(length));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (5)
130throw new ArgumentOutOfRangeException(nameof(value)); 147_ => throw new ArgumentOutOfRangeException(nameof(origin)), 152throw new ArgumentOutOfRangeException(nameof(offset)); 157throw new ArgumentOutOfRangeException(nameof(offset)); 301throw new ArgumentOutOfRangeException(nameof(value));
Microsoft.Data.Analysis (9)
DataFrame.IDataView.cs (1)
117throw new ArgumentOutOfRangeException(nameof(column));
DataFrameBuffer.cs (1)
97throw new ArgumentOutOfRangeException(nameof(index));
DataFrameColumns\ArrowStringDataFrameColumn.cs (2)
79throw new ArgumentOutOfRangeException(nameof(index)); 95throw new ArgumentOutOfRangeException(nameof(index));
PrimitiveColumnContainer.cs (2)
311throw new ArgumentOutOfRangeException(nameof(index)); 331throw new ArgumentOutOfRangeException(nameof(index));
PrimitiveDataFrameColumn.cs (2)
201throw new ArgumentOutOfRangeException(nameof(startIndex)); 211throw new ArgumentOutOfRangeException(nameof(startIndex));
ReadOnlyDataFrameBuffer.cs (1)
70throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.DotNet.AsmDiff (7)
Csv\DiffDifferenceCsvColumn.cs (1)
40throw new ArgumentOutOfRangeException("differenceType");
Csv\DiffInNewCsvColumn.cs (1)
40throw new ArgumentOutOfRangeException("differenceType");
Csv\DiffInOldCsvColumn.cs (1)
40throw new ArgumentOutOfRangeException("differenceType");
Csv\DiffTokensCsvColumn.cs (1)
75throw new ArgumentOutOfRangeException("differenceType");
DiffEngine.cs (2)
74throw new ArgumentOutOfRangeException("format"); 93throw new ArgumentOutOfRangeException("format");
DiffRecorder.cs (1)
161throw new ArgumentOutOfRangeException("style");
Microsoft.DotNet.Build.Tasks.Feed (2)
src\PushToBuildStorage.cs (2)
276throw new ArgumentOutOfRangeException(nameof(artifactModel)); 306throw new ArgumentOutOfRangeException(nameof(artifactModel));
Microsoft.DotNet.Build.Tasks.Workloads (4)
Msi\MsiUtils.wix.cs (3)
196throw new ArgumentOutOfRangeException(string.Format(Strings.MsiProductVersionOutOfRange, nameof(version.Major), 255)); 201throw new ArgumentOutOfRangeException(string.Format(Strings.MsiProductVersionOutOfRange, nameof(version.Minor), 255)); 206throw new ArgumentOutOfRangeException(string.Format(Strings.MsiProductVersionOutOfRange, nameof(version.Build), ushort.MaxValue));
Swix\MsiSwixProject.wix.cs (1)
78throw new ArgumentOutOfRangeException(Strings.ChipOrMachineArchRequired);
Microsoft.Extensions.AmbientMetadata.Application (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.AsyncState (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Caching.Hybrid (2)
Internal\RecyclableArrayBufferWriter.cs (1)
100=> throw new ArgumentOutOfRangeException(nameof(count));
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Caching.Hybrid.Tests (1)
DistributedCacheTests.cs (1)
316throw new ArgumentOutOfRangeException(nameof(kind));
Microsoft.Extensions.Caching.MicroBenchmarks (1)
DistributedCacheBenchmarks.cs (1)
83_ => throw new ArgumentOutOfRangeException(nameof(Backend)),
Microsoft.Extensions.Compliance.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Compliance.Redaction (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Compliance.Testing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
756throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Diagnostics.ExceptionSummarization (2)
src\LegacySupport\StringHash\StringHash.cs (1)
25_ => throw new ArgumentOutOfRangeException(nameof(comparisonType)),
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Diagnostics.HealthChecks (2)
DefaultHealthCheckService.cs (1)
294throw new ArgumentOutOfRangeException(nameof(index));
HealthCheckLogScope.cs (1)
25throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (3)
HealthCheckRegistration.cs (3)
63throw new ArgumentOutOfRangeException(nameof(timeout)); 115throw new ArgumentOutOfRangeException(nameof(timeout)); 154throw new ArgumentOutOfRangeException(nameof(value));
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Diagnostics.Probes (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Diagnostics.Testing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Hosting.Testing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Extensions.Http.Resilience (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
179throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Extensions.Logging.Console (8)
ConsoleLoggerOptions.cs (3)
38throw new ArgumentOutOfRangeException(nameof(value)); 99throw new ArgumentOutOfRangeException(SR.Format(SR.QueueModeNotSupported, nameof(value))); 121throw new ArgumentOutOfRangeException(SR.Format(SR.MaxQueueLengthBadValue, nameof(value)));
ConsoleLoggerProcessor.cs (2)
28throw new ArgumentOutOfRangeException(SR.Format(SR.MaxQueueLengthBadValue, nameof(value))); 46throw new ArgumentOutOfRangeException(SR.Format(SR.QueueModeNotSupported, nameof(value)));
JsonConsoleFormatter.cs (1)
136_ => throw new ArgumentOutOfRangeException(nameof(logLevel))
SimpleConsoleFormatter.cs (1)
173_ => throw new ArgumentOutOfRangeException(nameof(logLevel))
SystemdConsoleFormatter.cs (1)
131_ => throw new ArgumentOutOfRangeException(nameof(logLevel))
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Options.Contextual (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Primitives (3)
StringValues.cs (1)
375throw new ArgumentOutOfRangeException(nameof(arrayIndex));
ThrowHelper.cs (2)
21throw new ArgumentOutOfRangeException(GetArgumentName(argument)); 51return new ArgumentOutOfRangeException(GetArgumentName(argument));
Microsoft.Extensions.Resilience (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Telemetry (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.Telemetry.Abstractions (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Extensions.TimeProvider.Testing (1)
src\Shared\Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (2)
16throw new ArgumentOutOfRangeException(nameof(ordinal)); 32throw new ArgumentOutOfRangeException(nameof(ordinal));
Microsoft.Interop.LibraryImportGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (2)
16throw new ArgumentOutOfRangeException(nameof(ordinal)); 32throw new ArgumentOutOfRangeException(nameof(ordinal));
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
src\libraries\System.Runtime.InteropServices\gen\Common\OperationExtensions.cs (2)
16throw new ArgumentOutOfRangeException(nameof(ordinal)); 32throw new ArgumentOutOfRangeException(nameof(ordinal));
Microsoft.Interop.SourceGeneration (2)
GeneratedStatements.cs (1)
190_ => throw new ArgumentOutOfRangeException(nameof(stage))
Marshalling\MarshallerHelpers.cs (1)
26_ => throw new System.ArgumentOutOfRangeException(nameof(byValue))
Microsoft.JSInterop (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
214throw new ArgumentOutOfRangeException("index");
Microsoft.Maui (2)
Animations\Animation.cs (2)
133 throw new ArgumentOutOfRangeException(nameof(beginAt)); 136 throw new ArgumentOutOfRangeException(nameof(duration));
Microsoft.Maui.Controls (24)
Animation.cs (2)
48 throw new ArgumentOutOfRangeException(nameof(beginAt)); 51 throw new ArgumentOutOfRangeException(nameof(finishAt));
Layout\GridExtensions.cs (4)
65 throw new ArgumentOutOfRangeException(nameof(row)); 67 throw new ArgumentOutOfRangeException(nameof(column)); 69 throw new ArgumentOutOfRangeException(nameof(rowSpan)); 71 throw new ArgumentOutOfRangeException(nameof(columnSpan));
LayoutAlignmentExtensions.cs (1)
18 throw new ArgumentOutOfRangeException(nameof(align));
LegacyLayouts\Grid.cs (6)
315 throw new ArgumentOutOfRangeException(nameof(left)); 317 throw new ArgumentOutOfRangeException(nameof(top)); 324 throw new ArgumentOutOfRangeException(nameof(left)); 326 throw new ArgumentOutOfRangeException(nameof(top)); 328 throw new ArgumentOutOfRangeException(nameof(right)); 330 throw new ArgumentOutOfRangeException(nameof(bottom));
ListProxy.cs (1)
134 throw new ArgumentOutOfRangeException(nameof(index));
LockingSemaphore.cs (1)
18 throw new ArgumentOutOfRangeException(nameof(initialCount));
ObservableList.cs (5)
31 throw new ArgumentOutOfRangeException(nameof(index)); 47 throw new ArgumentOutOfRangeException(nameof(oldIndex)); 49 throw new ArgumentOutOfRangeException(nameof(newIndex)); 72 throw new ArgumentOutOfRangeException(nameof(index)); 101 throw new ArgumentOutOfRangeException(nameof(startIndex));
OrderedDictionary.cs (2)
131 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); 398 throw new ArgumentOutOfRangeException(nameof(arrayIndex));
Slider\Slider.cs (1)
70 throw new ArgumentOutOfRangeException(nameof(min));
Stepper\Stepper.cs (1)
62 throw new ArgumentOutOfRangeException(nameof(min));
Microsoft.Maui.Controls.BindingSourceGen (4)
BindingCodeWriter.cs (3)
287 _ => throw new ArgumentOutOfRangeException(nameof(interceptedMethodType)) 295 _ => throw new ArgumentOutOfRangeException(nameof(interceptedMethodType)) 305 _ => throw new ArgumentOutOfRangeException(nameof(binding.MethodType))
InvocationParser.cs (1)
44 throw new ArgumentOutOfRangeException(nameof(invocation));
Microsoft.Maui.Controls.Build.Tasks (1)
TypeReferenceExtensions.cs (1)
18 throw new ArgumentOutOfRangeException(nameof(typeRef));
Microsoft.Maui.Essentials (4)
TextToSpeech\TextToSpeech.shared.cs (2)
164 throw new ArgumentOutOfRangeException($"Volume must be >= {VolumeMin} and <= {VolumeMax}"); 170 throw new ArgumentOutOfRangeException($"Pitch must be >= {PitchMin} and <= {PitchMin}");
Types\Location.shared.cs (2)
68 throw new ArgumentOutOfRangeException(nameof(latitude)); 233 throw new ArgumentOutOfRangeException(nameof(units));
Microsoft.ML.Core (4)
Utilities\Contracts.cs (4)
282=> Process(new ArgumentOutOfRangeException(name)); 284=> Process(new ArgumentOutOfRangeException(name), ctx); 298=> Process(new ArgumentOutOfRangeException(paramName)); 300=> Process(new ArgumentOutOfRangeException(paramName), ctx);
Microsoft.ML.CpuMath (4)
src\Microsoft.ML.Core\Utilities\Contracts.cs (4)
282=> Process(new ArgumentOutOfRangeException(name)); 284=> Process(new ArgumentOutOfRangeException(name), ctx); 298=> Process(new ArgumentOutOfRangeException(paramName)); 300=> Process(new ArgumentOutOfRangeException(paramName), ctx);
Microsoft.ML.DataView (3)
Contracts.cs (1)
36=> new ArgumentOutOfRangeException(paramName);
DataViewSchema.cs (2)
53throw new ArgumentOutOfRangeException(nameof(columnIndex)); 110throw new ArgumentOutOfRangeException(nameof(index));
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
301throw new ArgumentOutOfRangeException(nameof(column));
Microsoft.ML.Tokenizers (1)
Model\Word.cs (1)
23throw new ArgumentOutOfRangeException(nameof(capacity));
Microsoft.ML.Tokenizers.Data.Tests (2)
src\Common\tests\RetryHelper.cs (2)
29throw new ArgumentOutOfRangeException(nameof(maxAttempts)); 79throw new ArgumentOutOfRangeException(nameof(maxAttempts));
Microsoft.ML.Tokenizers.Tests (2)
src\Common\tests\RetryHelper.cs (2)
29throw new ArgumentOutOfRangeException(nameof(maxAttempts)); 79throw new ArgumentOutOfRangeException(nameof(maxAttempts));
Microsoft.Net.Http.Headers (12)
ContentDispositionHeaderValue.cs (4)
182throw new ArgumentOutOfRangeException(nameof(value)); 800throw new ArgumentOutOfRangeException(nameof(index)); 818throw new ArgumentOutOfRangeException(nameof(digit)); 832throw new ArgumentOutOfRangeException(nameof(next));
ContentRangeHeaderValue.cs (3)
45throw new ArgumentOutOfRangeException(nameof(to)); 50throw new ArgumentOutOfRangeException(nameof(from)); 85throw new ArgumentOutOfRangeException(nameof(@from));
HeaderUtilities.cs (1)
33throw new ArgumentOutOfRangeException(nameof(value));
RangeItemHeaderValue.cs (3)
35throw new ArgumentOutOfRangeException(nameof(from)); 39throw new ArgumentOutOfRangeException(nameof(to)); 43throw new ArgumentOutOfRangeException(nameof(from));
StringWithQualityHeaderValue.cs (1)
51throw new ArgumentOutOfRangeException(nameof(quality));
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\Collection.vb (3)
403Throw New ArgumentOutOfRangeException(NameOf(Index)) 425Throw New ArgumentOutOfRangeException(NameOf(Index)) 438Throw New ArgumentOutOfRangeException(NameOf(Index))
Microsoft.VisualStudio.LanguageServices (2)
CodeDefinitionWindow\VisualStudioCodeDefinitionWindowService.cs (1)
105throw new ArgumentOutOfRangeException(nameof(iItem));
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
37throw new ArgumentOutOfRangeException(nameof(capacity));
MSBuild (1)
ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
MSBuildTaskHost (2)
D\a\_work\1\s\bin\repo\msbuild\src\Shared\ErrorUtilities.cs\ErrorUtilities.cs (1)
473throw new ArgumentOutOfRangeException(parameterName);
Immutable\ImmutableDictionary.cs (1)
118throw new ArgumentOutOfRangeException(nameof(arrayIndex));
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
464throw new ArgumentOutOfRangeException(nameof(i));
PresentationCore (28)
MS\Internal\Ink\StylusShape.cs (4)
44throw new ArgumentOutOfRangeException(nameof(width)); 49throw new ArgumentOutOfRangeException(nameof(height)); 54throw new ArgumentOutOfRangeException(nameof(rotation)); 59throw new ArgumentOutOfRangeException(nameof(tip));
System\Windows\BinaryFormat\IntrinsicExtensions.cs (1)
17throw new ArgumentOutOfRangeException(nameof(value));
System\Windows\BinaryFormat\NullRecord.cs (1)
22throw new ArgumentOutOfRangeException(nameof(value));
System\Windows\DataObjectEventArgs.cs (1)
53throw new ArgumentOutOfRangeException(nameof(routedEvent));
System\Windows\Ink\Stroke2.cs (2)
211throw new System.ArgumentOutOfRangeException(nameof(percentageWithinBounds)); 260throw new System.ArgumentOutOfRangeException(nameof(percentageWithinLasso));
System\Windows\Ink\StrokeCollection2.cs (3)
85throw new System.ArgumentOutOfRangeException(nameof(percentageWithinLasso)); 152throw new System.ArgumentOutOfRangeException(nameof(percentageWithinBounds)); 426throw new System.ArgumentOutOfRangeException(nameof(percentageWithinLasso));
System\Windows\Input\Command\InputBindingCollection.cs (2)
165throw new ArgumentOutOfRangeException(nameof(index)); 186throw new ArgumentOutOfRangeException(nameof(index));
System\Windows\Input\InertiaExpansionBehavior.cs (1)
55throw new ArgumentOutOfRangeException(nameof(value));
System\Windows\Input\InertiaRotationBehavior.cs (2)
55throw new ArgumentOutOfRangeException(nameof(value)); 75throw new ArgumentOutOfRangeException(nameof(value));
System\Windows\Input\InertiaTranslationBehavior.cs (2)
55throw new ArgumentOutOfRangeException(nameof(value)); 75throw new ArgumentOutOfRangeException(nameof(value));
System\Windows\InterOp\D3DImage.cs (2)
136throw new ArgumentOutOfRangeException(nameof(backBufferType)); 238throw new ArgumentOutOfRangeException(nameof(timeout));
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
285throw new ArgumentOutOfRangeException(nameof(index));
System\Windows\Media\CharacterMetricsDictionary.cs (1)
356throw new ArgumentOutOfRangeException(SR.Format(SR.CodePointOutOfRange, key));
System\Windows\Media\FormattedText.cs (1)
293throw new ArgumentOutOfRangeException(nameof(count));
System\Windows\Media\GlyphRun.cs (3)
483throw new ArgumentOutOfRangeException(nameof(characterHit)); 709throw new ArgumentOutOfRangeException(nameof(characterHit)); 756throw new ArgumentOutOfRangeException(nameof(characterHit));
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
231throw new ArgumentOutOfRangeException(nameof(timeout));
PresentationFramework (83)
MS\Internal\Data\ClrBindingWorker.cs (1)
634throw new ArgumentOutOfRangeException("index");
MS\Internal\Data\CollectionViewGroupInternal.cs (1)
352throw new ArgumentOutOfRangeException(nameof(index));
MS\Internal\Data\CompositeCollectionView.cs (1)
202throw new ArgumentOutOfRangeException(nameof(index));
MS\Internal\Data\IndexedEnumerable.cs (1)
244throw new ArgumentOutOfRangeException(nameof(index)); // validating the index argument
MS\Internal\Data\PropertyPathWorker.cs (1)
1538_host?.ReportGetValueError(k, item, new ArgumentOutOfRangeException("index"));
MS\Internal\Documents\ContentElementCollection.cs (1)
758throw new ArgumentOutOfRangeException(SR.TableCollectionNotEnoughCapacity);
MS\Internal\Documents\DocumentGrid.cs (8)
428throw new ArgumentOutOfRangeException(nameof(scale)); 595throw new ArgumentOutOfRangeException(nameof(offset)); 638throw new ArgumentOutOfRangeException(nameof(offset)); 804throw new ArgumentOutOfRangeException(nameof(value)); 826throw new ArgumentOutOfRangeException(nameof(value)); 2145throw new ArgumentOutOfRangeException(nameof(offset)); 2165throw new ArgumentOutOfRangeException(nameof(offset)); 2963throw new ArgumentOutOfRangeException(nameof(args));
MS\Internal\Documents\PageCache.cs (5)
363throw new ArgumentOutOfRangeException("args"); 465throw new ArgumentOutOfRangeException(nameof(parameter)); 506throw new ArgumentOutOfRangeException(nameof(parameter)); 589throw new ArgumentOutOfRangeException(nameof(parameter)); 609throw new ArgumentOutOfRangeException("args");
MS\Internal\Documents\RowCache.cs (1)
1277throw new ArgumentOutOfRangeException(nameof(args));
MS\Internal\Documents\TableColumnCollectionInternal.cs (6)
100throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 240throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 272throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 276throw new ArgumentOutOfRangeException(SR.TableCollectionCountNeedNonNegNum); 319throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 327throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (6)
105throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 189throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 222throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 226throw new ArgumentOutOfRangeException(SR.TableCollectionCountNeedNonNegNum); 406throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 414throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange);
MS\Internal\Documents\TextDocumentView.cs (8)
93throw new ArgumentOutOfRangeException(nameof(position)); 236throw new ArgumentOutOfRangeException(nameof(position)); 287throw new ArgumentOutOfRangeException(nameof(position)); 307throw new ArgumentOutOfRangeException(nameof(position)); 326throw new ArgumentOutOfRangeException(nameof(position)); 345throw new ArgumentOutOfRangeException(nameof(position)); 368throw new ArgumentOutOfRangeException(nameof(start)); 372throw new ArgumentOutOfRangeException(nameof(end));
MS\Internal\Documents\TextParagraphView.cs (1)
156throw new ArgumentOutOfRangeException(nameof(position));
MS\Internal\IO\Packaging\ManagedIStream.cs (1)
79throw new ArgumentOutOfRangeException(nameof(origin));
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (1)
97throw new ArgumentOutOfRangeException(nameof(index));
System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (2)
44throw new ArgumentOutOfRangeException(nameof(x)); 47throw new ArgumentOutOfRangeException(nameof(y));
System\Windows\Controls\CalendarBlackoutDatesCollection.cs (3)
191throw new ArgumentOutOfRangeException(SR.Calendar_UnSelectableDates); 244throw new ArgumentOutOfRangeException(SR.Calendar_UnSelectableDates); 289throw new ArgumentOutOfRangeException(SR.Calendar_UnSelectableDates);
System\Windows\Controls\ColumnDefinition.cs (11)
83throw new ArgumentOutOfRangeException(SR.Format(SR.GridCollection_DestArrayInvalidLowerBound, "index")); 105throw new ArgumentOutOfRangeException(SR.Format(SR.GridCollection_DestArrayInvalidLowerBound, "index")); 229throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 243throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 287throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 306throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 310throw new ArgumentOutOfRangeException(SR.TableCollectionCountNeedNonNegNum); 431throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 441throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 457throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 467throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange);
System\Windows\Controls\DocumentViewer.cs (2)
130throw new ArgumentOutOfRangeException(nameof(pagesAcross)); 1013throw new ArgumentOutOfRangeException(nameof(pagesAcross));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
280throw new ArgumentOutOfRangeException(nameof(offset)); 297throw new ArgumentOutOfRangeException(nameof(offset));
System\Windows\Controls\RowDefinition.cs (11)
78throw new ArgumentOutOfRangeException(SR.Format(SR.GridCollection_DestArrayInvalidLowerBound, "index")); 100throw new ArgumentOutOfRangeException(SR.Format(SR.GridCollection_DestArrayInvalidLowerBound, "index")); 224throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 238throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 282throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 301throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 305throw new ArgumentOutOfRangeException(SR.TableCollectionCountNeedNonNegNum); 426throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 436throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 452throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange); 462throw new ArgumentOutOfRangeException(SR.TableCollectionOutOfRange);
System\Windows\Controls\SelectedDatesCollection.cs (1)
200throw new ArgumentOutOfRangeException(SR.Calendar_OnSelectedDateChanged_InvalidValue);
System\Windows\Controls\TextBlock.cs (1)
1152throw new ArgumentOutOfRangeException(nameof(index));
System\Windows\Data\RelativeSource.cs (1)
219throw new ArgumentOutOfRangeException(SR.RelativeSourceInvalidAncestorLevel);
System\Windows\FigureLength.cs (1)
112throw new ArgumentOutOfRangeException(SR.Format(SR.InvalidCtorParameterNoNegative, "value"));
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
337throw new ArgumentOutOfRangeException(nameof(assemblyId)); 361throw new ArgumentOutOfRangeException(nameof(typeId)); 388throw new ArgumentOutOfRangeException(nameof(propertyId));
System\Windows\Markup\XamlStream.cs (2)
163throw new ArgumentOutOfRangeException( nameof(offset)); 308throw new ArgumentOutOfRangeException( nameof(offset));
PresentationUI (2)
MS\Internal\Documents\PeoplePickerWrapper.cs (2)
407throw new ArgumentOutOfRangeException(nameof(index)); 443throw new ArgumentOutOfRangeException(nameof(index));
ReachFramework (43)
PrintConfig\DocumentNUp.cs (1)
633throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\FallbackPTProvider.cs (1)
565throw new ArgumentOutOfRangeException(nameof(baseType));
PrintConfig\JobCollate.cs (1)
281throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\JobDuplex.cs (1)
279throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\JobInputBins.cs (1)
366throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\JobPageOrder.cs (1)
253throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\JobStaple.cs (1)
284throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageBorderless.cs (1)
254throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageDeviceFont.cs (1)
255throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageMediaSize.cs (1)
555throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageMediaType.cs (1)
256throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageOrientation.cs (1)
253throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageOutputColor.cs (1)
256throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageOutputQuality.cs (1)
255throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageResolution.cs (1)
404throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PageTrueTypeFont.cs (1)
255throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PhotoPrintingIntent.cs (1)
253throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PrtCap_Public.cs (1)
111throw new ArgumentOutOfRangeException(nameof(feature));
PrintConfig\PrtTicket_Public_Simple.cs (18)
359throw new ArgumentOutOfRangeException(nameof(value)); 449throw new ArgumentOutOfRangeException(nameof(value)); 493throw new ArgumentOutOfRangeException(nameof(value)); 563throw new ArgumentOutOfRangeException(nameof(value)); 615throw new ArgumentOutOfRangeException(nameof(value)); 659throw new ArgumentOutOfRangeException(nameof(value)); 703throw new ArgumentOutOfRangeException(nameof(value)); 788throw new ArgumentOutOfRangeException(nameof(value)); 796throw new ArgumentOutOfRangeException("value.PageMediaSizeName"); 858throw new ArgumentOutOfRangeException(nameof(value)); 902throw new ArgumentOutOfRangeException(nameof(value)); 946throw new ArgumentOutOfRangeException(nameof(value)); 1030throw new ArgumentOutOfRangeException(nameof(value)); 1038throw new ArgumentOutOfRangeException(nameof(value)); 1200throw new ArgumentOutOfRangeException(nameof(value)); 1244throw new ArgumentOutOfRangeException(nameof(value)); 1288throw new ArgumentOutOfRangeException(nameof(value)); 1332throw new ArgumentOutOfRangeException(nameof(value));
PrintConfig\PTConverter.cs (3)
244throw new ArgumentOutOfRangeException(nameof(scope)); 264throw new ArgumentOutOfRangeException(nameof(baseType)); 272throw new ArgumentOutOfRangeException(nameof(scope));
PrintConfig\PTManager.cs (1)
377throw new ArgumentOutOfRangeException(nameof(scope));
Serialization\XpsFontSubsetter.cs (3)
344throw new ArgumentOutOfRangeException(SR.ReachPackaging_SequenceCntMustBe1); 359throw new ArgumentOutOfRangeException(SR.ReachPackaging_SequenceCntMustBe1); 364throw new ArgumentOutOfRangeException(SR.ReachPackaging_CommitCountPolicyLessThan1);
Replay (1)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
181throw new ArgumentOutOfRangeException($"Request is over {MaximumRequestSize >> 20}MB in length");
Shared (2)
EmptyCollections\EmptyReadOnlyList.cs (1)
25public T this[int index] => throw new ArgumentOutOfRangeException(nameof(index));
Throw\Throw.cs (1)
332=> throw new ArgumentOutOfRangeException(paramName);
System.Collections (4)
System\Collections\Generic\SortedSet.TreeSubSet.cs (3)
56throw new ArgumentOutOfRangeException(nameof(item)); 346throw new ArgumentOutOfRangeException(nameof(lowerValue)); 350throw new ArgumentOutOfRangeException(nameof(upperValue));
System\Collections\ThrowHelper.cs (1)
30throw new ArgumentOutOfRangeException("index");
System.Collections.Concurrent (1)
System\Collections\Concurrent\PartitionerStatic.cs (1)
170throw new ArgumentOutOfRangeException(nameof(partitionerOptions));
System.Collections.Immutable (1)
Validation\Requires.cs (1)
101throw new ArgumentOutOfRangeException(parameterName);
System.Collections.Specialized (1)
System\Collections\Specialized\OrderedDictionary.cs (1)
166throw new ArgumentOutOfRangeException(nameof(index));
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\Schema\DatabaseGeneratedAttribute.cs (1)
20throw new ArgumentOutOfRangeException(nameof(databaseGeneratedOption));
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
77throw new ArgumentOutOfRangeException(nameof(compositionOptions));
System\ComponentModel\Composition\Hosting\ComposablePartExportProvider.cs (1)
43throw new ArgumentOutOfRangeException(nameof(compositionOptions));
System\ComponentModel\Composition\Hosting\CompositionContainer.cs (1)
141throw new ArgumentOutOfRangeException(nameof(compositionOptions));
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
48if (metadataConstraints?.Count == 0) throw new ArgumentOutOfRangeException(nameof(metadataConstraints));
System.Configuration.ConfigurationManager (6)
System\Configuration\ConfigurationSectionCollection.cs (1)
72if (array.Length < c + index) throw new ArgumentOutOfRangeException(nameof(index));
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
76if (array.Length < c + index) throw new ArgumentOutOfRangeException(nameof(index));
System\Configuration\IntegerValidator.cs (1)
23if (resolution <= 0) throw new ArgumentOutOfRangeException(nameof(resolution));
System\Configuration\LongValidator.cs (1)
23if (resolution <= 0) throw new ArgumentOutOfRangeException(nameof(resolution));
System\Configuration\PropertyInformationCollection.cs (1)
49if (array.Length < Count + index) throw new ArgumentOutOfRangeException(nameof(index));
System\Configuration\TimeSpanValidator.cs (1)
23if (resolutionInSeconds < 0) throw new ArgumentOutOfRangeException(nameof(resolutionInSeconds));
System.Data.Common (2)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
81ArgumentOutOfRangeException e = new ArgumentOutOfRangeException(parameterName);
System\Data\SQLTypes\SQLString.cs (1)
681throw new ArgumentOutOfRangeException(nameof(compareOptions));
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
81ArgumentOutOfRangeException e = new ArgumentOutOfRangeException(parameterName);
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
1905throw new ArgumentOutOfRangeException(nameof(idData)); 1918throw new ArgumentOutOfRangeException(nameof(idData)); 1966throw new ArgumentOutOfRangeException(nameof(idData)); 2038throw new ArgumentOutOfRangeException("idData"); 2098throw new ArgumentOutOfRangeException(nameof(idData)); 2111throw new ArgumentOutOfRangeException(nameof(idData)); 2157throw new ArgumentOutOfRangeException(nameof(idData));
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceListener.cs (1)
155throw new ArgumentOutOfRangeException(nameof(value));
System.Formats.Asn1 (9)
System\Formats\Asn1\Asn1Tag.cs (3)
70throw new ArgumentOutOfRangeException(nameof(universalTagNumber)); 107throw new ArgumentOutOfRangeException(nameof(tagClass)); 112throw new ArgumentOutOfRangeException(nameof(tagValue));
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
234throw new ArgumentOutOfRangeException(nameof(allowedChars));
System\Formats\Asn1\AsnDecoder.cs (1)
704throw new ArgumentOutOfRangeException(nameof(ruleSet));
System\Formats\Asn1\AsnDecoder.UtcTime.cs (1)
65throw new ArgumentOutOfRangeException(nameof(twoDigitYearMax));
System\Formats\Asn1\AsnReaderOptions.cs (1)
34throw new ArgumentOutOfRangeException(nameof(value));
System\Formats\Asn1\AsnWriter.cs (1)
48throw new ArgumentOutOfRangeException(nameof(ruleSet));
System\Formats\Asn1\AsnWriter.UtcTime.cs (1)
65throw new ArgumentOutOfRangeException(nameof(value));
System.Formats.Cbor (13)
System\Formats\Cbor\CborConformanceLevel.cs (9)
62throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 79throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 96throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 113throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 135throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 152throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 169throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 186throw new ArgumentOutOfRangeException(nameof(conformanceMode)); 203throw new ArgumentOutOfRangeException(nameof(conformanceMode));
System\Formats\Cbor\Writer\CborWriter.Array.cs (1)
50throw new ArgumentOutOfRangeException(nameof(definiteLength));
System\Formats\Cbor\Writer\CborWriter.cs (1)
98< -1 => throw new ArgumentOutOfRangeException(nameof(initialCapacity)),
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
68throw new ArgumentOutOfRangeException(nameof(definiteLength));
System\Formats\Cbor\Writer\CborWriter.Simple.cs (1)
121throw new ArgumentOutOfRangeException(SR.Format(SR.Cbor_ConformanceMode_InvalidSimpleValueEncoding, ConformanceMode));
System.Formats.Tar (5)
System\Formats\Tar\SeekableSubReadStream.cs (1)
90_ => throw new ArgumentOutOfRangeException(nameof(origin)),
System\Formats\Tar\TarEntry.cs (1)
151throw new ArgumentOutOfRangeException(nameof(value));
System\Formats\Tar\TarHeader.Write.cs (2)
80_ => throw new ArgumentOutOfRangeException(nameof(format)) 132_ => throw new ArgumentOutOfRangeException(nameof(format))
System\Formats\Tar\TarWriter.cs (1)
70throw new ArgumentOutOfRangeException(nameof(format));
System.IO.Compression (2)
System\IO\Compression\DeflateZLib\DeflateStream.cs (1)
132_ => throw new ArgumentOutOfRangeException(nameof(compressionLevel)),
System\IO\Compression\ZipArchive.cs (1)
156throw new ArgumentOutOfRangeException(nameof(mode));
System.IO.Compression.Brotli (1)
System\IO\Compression\enc\BrotliEncoder.cs (1)
117throw new ArgumentOutOfRangeException(nameof(inputSize));
System.IO.Compression.ZipFile (2)
System\IO\Compression\ZipFile.Create.cs (2)
173throw new ArgumentOutOfRangeException(nameof(mode)); 459throw new ArgumentOutOfRangeException(nameof(compressionLevel));
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
38throw new ArgumentOutOfRangeException(nameof(hashLengthInBytes));
System.IO.MemoryMappedFiles (13)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (13)
67throw new ArgumentOutOfRangeException(nameof(inheritability)); 72throw new ArgumentOutOfRangeException(nameof(desiredAccessRights)); 223throw new ArgumentOutOfRangeException(nameof(inheritability)); 252throw new ArgumentOutOfRangeException(nameof(inheritability)); 303throw new ArgumentOutOfRangeException(nameof(access)); 313throw new ArgumentOutOfRangeException(nameof(options)); 318throw new ArgumentOutOfRangeException(nameof(inheritability)); 360throw new ArgumentOutOfRangeException(nameof(access)); 365throw new ArgumentOutOfRangeException(nameof(options)); 370throw new ArgumentOutOfRangeException(nameof(inheritability)); 408throw new ArgumentOutOfRangeException(nameof(access)); 442throw new ArgumentOutOfRangeException(nameof(access)); 530throw new ArgumentOutOfRangeException(nameof(access));
System.IO.Packaging (8)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
211throw new ArgumentOutOfRangeException(nameof(origin));
System\IO\Packaging\InternalRelationshipCollection.cs (1)
405throw new ArgumentOutOfRangeException(nameof(targetMode));
System\IO\Packaging\Package.cs (3)
824throw new ArgumentOutOfRangeException(nameof(mode)); 831throw new ArgumentOutOfRangeException(nameof(access)); 838throw new ArgumentOutOfRangeException(nameof(compressionOption));
System\IO\Packaging\PackageRelationshipSelector.cs (1)
54throw new ArgumentOutOfRangeException(nameof(selectorType));
System\IO\Packaging\PackageXmlStringTable.cs (1)
79throw new ArgumentOutOfRangeException(nameof(id));
System\IO\Packaging\XmlCompatibilityReader.cs (1)
437throw new ArgumentOutOfRangeException(nameof(i));
System.IO.Pipelines (4)
System\IO\Pipelines\StreamPipeReaderOptions.cs (2)
42bufferSize <= 0 ? throw new ArgumentOutOfRangeException(nameof(bufferSize)) : 47minimumReadSize <= 0 ? throw new ArgumentOutOfRangeException(nameof(minimumReadSize)) :
System\IO\Pipelines\StreamPipeWriterOptions.cs (1)
25minimumBufferSize <= 0 ? throw new ArgumentOutOfRangeException(nameof(minimumBufferSize)) :
System\IO\Pipelines\ThrowHelper.cs (1)
14private static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(ExceptionArgument argument) => new ArgumentOutOfRangeException(argument.ToString());
System.IO.Ports (2)
System\IO\Ports\SerialPort.cs (2)
416throw new ArgumentOutOfRangeException(nameof(ReadBufferSize)); 514throw new ArgumentOutOfRangeException(nameof(WriteBufferSize));
System.Linq (1)
System\Linq\ThrowHelper.cs (1)
15internal static void ThrowArgumentOutOfRangeException(ExceptionArgument argument) => throw new ArgumentOutOfRangeException(GetArgumentString(argument));
System.Linq.AsyncEnumerable (1)
System\Linq\ThrowHelper.cs (1)
39internal static void ThrowArgumentOutOfRangeException(string paramName) => throw new ArgumentOutOfRangeException(paramName);
System.Linq.Expressions (21)
System\Linq\Expressions\DynamicExpression.cs (4)
548_ => throw new ArgumentOutOfRangeException(nameof(index)), 608_ => throw new ArgumentOutOfRangeException(nameof(index)), 679_ => throw new ArgumentOutOfRangeException(nameof(index)), 756_ => throw new ArgumentOutOfRangeException(nameof(index)),
System\Linq\Expressions\Error.cs (1)
1197return new ArgumentOutOfRangeException(paramName);
System\Linq\Expressions\InvocationExpression.cs (6)
167throw new ArgumentOutOfRangeException(nameof(index)); 200_ => throw new ArgumentOutOfRangeException(nameof(index)), 240_ => throw new ArgumentOutOfRangeException(nameof(index)), 283_ => throw new ArgumentOutOfRangeException(nameof(index)), 329_ => throw new ArgumentOutOfRangeException(nameof(index)), 378_ => throw new ArgumentOutOfRangeException(nameof(index)),
System\Linq\Expressions\MethodCallExpression.cs (10)
238throw new ArgumentOutOfRangeException(nameof(index)); 274_ => throw new ArgumentOutOfRangeException(nameof(index)), 330_ => throw new ArgumentOutOfRangeException(nameof(index)), 397_ => throw new ArgumentOutOfRangeException(nameof(index)), 470_ => throw new ArgumentOutOfRangeException(nameof(index)), 549_ => throw new ArgumentOutOfRangeException(nameof(index)), 618throw new ArgumentOutOfRangeException(nameof(index)); 655_ => throw new ArgumentOutOfRangeException(nameof(index)), 711_ => throw new ArgumentOutOfRangeException(nameof(index)), 778_ => throw new ArgumentOutOfRangeException(nameof(index)),
System.Linq.Parallel (4)
System\Linq\ParallelEnumerable.cs (4)
419if (count < 0 || (count > 0 && int.MaxValue - (count - 1) < start)) throw new ArgumentOutOfRangeException(nameof(count)); 1623if ((~(QueryAggregationOptions.Associative | QueryAggregationOptions.Commutative) & options) != 0) throw new ArgumentOutOfRangeException(nameof(options)); 1671if ((~(QueryAggregationOptions.Associative | QueryAggregationOptions.Commutative) & options) != 0) throw new ArgumentOutOfRangeException(nameof(options)); 5923throw new ArgumentOutOfRangeException(nameof(index));
System.Linq.Queryable (1)
System\Linq\Error.cs (1)
15new ArgumentOutOfRangeException(message);
System.Memory (3)
System\ThrowHelper.cs (3)
35private static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(ExceptionArgument argument) { return new ArgumentOutOfRangeException(argument.ToString()); } 50private static ArgumentOutOfRangeException CreateArgumentOutOfRangeException_PositionOutOfRange() { return new ArgumentOutOfRangeException("position"); } 55private static ArgumentOutOfRangeException CreateArgumentOutOfRangeException_OffsetOutOfRange() { return new ArgumentOutOfRangeException(nameof(ExceptionArgument.offset)); }
System.Memory.Data (3)
src\libraries\Common\src\System\IO\ReadOnlyMemoryStream.cs (3)
55throw new ArgumentOutOfRangeException(nameof(value)); 69throw new ArgumentOutOfRangeException(nameof(origin)); 73throw new ArgumentOutOfRangeException(nameof(offset));
System.Net.Http (12)
src\libraries\Common\src\System\IO\ReadOnlyMemoryStream.cs (3)
55throw new ArgumentOutOfRangeException(nameof(value)); 69throw new ArgumentOutOfRangeException(nameof(origin)); 73throw new ArgumentOutOfRangeException(nameof(offset));
src\libraries\Common\src\System\Net\MultiArrayBuffer.cs (2)
389throw new ArgumentOutOfRangeException(nameof(destination)); 405throw new ArgumentOutOfRangeException(nameof(source));
System\Net\Http\HttpClientHandler.cs (1)
283throw new ArgumentOutOfRangeException(nameof(value));
System\Net\Http\MultipartContent.cs (1)
620throw new ArgumentOutOfRangeException(nameof(origin));
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (5)
177throw new ArgumentOutOfRangeException(nameof(value)); 215throw new ArgumentOutOfRangeException(nameof(value)); 230throw new ArgumentOutOfRangeException(nameof(value)); 246throw new ArgumentOutOfRangeException(nameof(value)); 262throw new ArgumentOutOfRangeException(nameof(value));
System.Net.HttpListener (2)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (2)
105throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Offset)); 109throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Count));
System.Net.Mail (1)
System\Net\Mail\MailMessage.cs (1)
161throw new ArgumentOutOfRangeException(nameof(value));
System.Net.Primitives (5)
System\Net\Cache\RequestCachePolicy.cs (1)
17throw new ArgumentOutOfRangeException(nameof(level));
System\Net\IPEndPoint.cs (3)
37throw new ArgumentOutOfRangeException(nameof(port)); 53throw new ArgumentOutOfRangeException(nameof(port)); 83throw new ArgumentOutOfRangeException(nameof(value));
System\Net\IPNetwork.cs (1)
64static void ThrowArgumentOutOfRangeException() => throw new ArgumentOutOfRangeException(nameof(prefixLength));
System.Net.Quic (2)
src\libraries\Common\src\System\Net\MultiArrayBuffer.cs (2)
389throw new ArgumentOutOfRangeException(nameof(destination)); 405throw new ArgumentOutOfRangeException(nameof(source));
System.Net.Requests (3)
System\Net\Cache\HttpRequestCachePolicy.cs (1)
119throw new ArgumentOutOfRangeException(nameof(level));
System\Net\FileWebRequest.cs (1)
35throw new ArgumentOutOfRangeException(nameof(uri));
System\Net\FtpWebRequest.cs (1)
490throw new ArgumentOutOfRangeException(nameof(uri));
System.Net.Sockets (18)
src\libraries\Common\src\System\Net\RangeValidationHelpers.cs (1)
24throw new ArgumentOutOfRangeException(nameof(segment));
System\Net\Sockets\Socket.cs (3)
883throw new ArgumentOutOfRangeException(nameof(port)); 908throw new ArgumentOutOfRangeException(nameof(port)); 943throw new ArgumentOutOfRangeException(nameof(port));
System\Net\Sockets\Socket.Tasks.cs (3)
174throw new ArgumentOutOfRangeException(nameof(port)); 826throw new ArgumentOutOfRangeException(nameof(buffer.Offset)); 830throw new ArgumentOutOfRangeException(nameof(buffer.Count));
System\Net\Sockets\TCPClient.cs (3)
64throw new ArgumentOutOfRangeException(nameof(port)); 133throw new ArgumentOutOfRangeException(nameof(port)); 152throw new ArgumentOutOfRangeException(nameof(port));
System\Net\Sockets\TCPListener.cs (3)
41throw new ArgumentOutOfRangeException(nameof(port)); 54throw new ArgumentOutOfRangeException(nameof(port)); 251throw new ArgumentOutOfRangeException(nameof(port));
System\Net\Sockets\UDPClient.cs (5)
57throw new ArgumentOutOfRangeException(nameof(port)); 464throw new ArgumentOutOfRangeException(nameof(timeToLive)); 671throw new ArgumentOutOfRangeException(nameof(port)); 695throw new ArgumentOutOfRangeException(nameof(port)); 810throw new ArgumentOutOfRangeException(nameof(port));
System.Net.WebSockets (3)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (2)
105throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Offset)); 109throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Count));
System\Net\WebSockets\ValueWebSocketReceiveResult.cs (1)
35private static void ThrowMessageTypeOutOfRange() => throw new ArgumentOutOfRangeException("messageType");
System.Net.WebSockets.Client (2)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (2)
105throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Offset)); 109throw new ArgumentOutOfRangeException(parameterName + "." + nameof(arraySegment.Count));
System.Numerics.Tensors (3)
System\NRange.cs (1)
122private static void ThrowArgumentOutOfRangeException() => throw new ArgumentOutOfRangeException("length");
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
130throw new ArgumentOutOfRangeException(nameof(digits));
System\ThrowHelper.cs (1)
211throw new ArgumentOutOfRangeException(SR.ThrowArgument_StrideLessThan0);
System.Private.CoreLib (77)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerBrowsableAttribute.cs (1)
34throw new ArgumentOutOfRangeException(nameof(state));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\Statics.cs (1)
171throw new ArgumentOutOfRangeException(nameof(name));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingMetadataCollector.cs (4)
116_ => throw new ArgumentOutOfRangeException(nameof(type)), 142throw new ArgumentOutOfRangeException(nameof(type)); 168throw new ArgumentOutOfRangeException(nameof(type)); 207throw new ArgumentOutOfRangeException(nameof(type));
src\libraries\System.Private.CoreLib\src\System\IO\Directory.cs (1)
212_ => throw new ArgumentOutOfRangeException(nameof(searchTarget)),
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerableFactory.cs (2)
95throw new ArgumentOutOfRangeException(nameof(matchType)); 110_ => throw new ArgumentOutOfRangeException(nameof(options)),
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryAccessor.cs (1)
52throw new ArgumentOutOfRangeException(nameof(access));
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
92throw new ArgumentOutOfRangeException(nameof(access));
src\libraries\System.Private.CoreLib\src\System\ParseNumbers.cs (2)
38throw new ArgumentOutOfRangeException(SR.ArgumentOutOfRange_IndexMustBeLess); 126throw new ArgumentOutOfRangeException(SR.ArgumentOutOfRange_IndexMustBeLess);
src\libraries\System.Private.CoreLib\src\System\Range.cs (1)
131throw new ArgumentOutOfRangeException("length");
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
388throw new ArgumentOutOfRangeException(SR.ArgumentOutOfRange_ParamSequence);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ILGenerator.cs (4)
214throw new ArgumentOutOfRangeException(nameof(startLine)); 219throw new ArgumentOutOfRangeException(nameof(endLine)); 224throw new ArgumentOutOfRangeException(nameof(startColumn)); 230throw new ArgumentOutOfRangeException(nameof(endColumn));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Avx2.cs (48)
935_ => throw new ArgumentOutOfRangeException(nameof(scale)), 951_ => throw new ArgumentOutOfRangeException(nameof(scale)), 967_ => throw new ArgumentOutOfRangeException(nameof(scale)), 983_ => throw new ArgumentOutOfRangeException(nameof(scale)), 999_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1015_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1031_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1047_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1063_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1079_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1095_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1111_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1127_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1143_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1159_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1175_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1191_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1207_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1223_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1239_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1255_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1271_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1287_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1303_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1320_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1336_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1352_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1368_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1384_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1400_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1416_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1432_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1448_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1464_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1480_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1496_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1512_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1528_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1544_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1560_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1576_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1592_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1608_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1624_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1640_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1656_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1672_ => throw new ArgumentOutOfRangeException(nameof(scale)), 1688_ => throw new ArgumentOutOfRangeException(nameof(scale)),
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.SerializationGuard.cs (1)
73throw new ArgumentOutOfRangeException(nameof(cachedValue));
src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (3)
35throw new ArgumentOutOfRangeException(nameof(period)); 54throw new ArgumentOutOfRangeException(nameof(period)); 94throw new ArgumentOutOfRangeException(nameof(value));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (2)
104if (maxConcurrencyLevel == 0 || maxConcurrencyLevel < -1) throw new ArgumentOutOfRangeException(nameof(maxConcurrencyLevel)); 105if (maxItemsPerTask == 0 || maxItemsPerTask < -1) throw new ArgumentOutOfRangeException(nameof(maxItemsPerTask));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (1)
537new ArgumentOutOfRangeException(nameof(options)) :
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (1)
3030throw new ArgumentOutOfRangeException(nameof(continuationOptions));
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
371throw new ArgumentOutOfRangeException(GetArgumentName(argument));
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
647throw new ArgumentOutOfRangeException(SR.ArgumentOutOfRange_ParamSequence);
System.Private.CoreLib.Generators (1)
EventSourceGenerator.Emitter.cs (1)
94throw new ArgumentOutOfRangeException(nameof(name));
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (1)
197throw XmlObjectSerializer.CreateSerializationException(SR.JsonDateTimeOutOfRange, new ArgumentOutOfRangeException(nameof(value)));
System.Private.Uri (10)
System\Uri.cs (3)
400throw new ArgumentOutOfRangeException(nameof(baseUri)); 442throw new ArgumentOutOfRangeException(nameof(baseUri)); 546throw new ArgumentOutOfRangeException(nameof(baseUri));
System\UriExt.cs (3)
367throw new ArgumentOutOfRangeException(nameof(format)); 915throw new ArgumentOutOfRangeException(nameof(format)); 981throw new ArgumentOutOfRangeException(nameof(uriFormat));
System\UriScheme.cs (4)
141throw new ArgumentOutOfRangeException(nameof(format)); 174throw new ArgumentOutOfRangeException(nameof(schemeName)); 177throw new ArgumentOutOfRangeException(nameof(defaultPort)); 191throw new ArgumentOutOfRangeException(nameof(schemeName));
System.Private.Windows.Core (4)
System\Private\Windows\BinaryFormat\Serializer\NullRecord.cs (2)
21throw new ArgumentOutOfRangeException(nameof(value)); 34throw new ArgumentOutOfRangeException(nameof(nullCount));
System\Private\Windows\Ole\DragDropHelper.cs (2)
340throw new ArgumentOutOfRangeException(nameof(message)); 345throw new ArgumentOutOfRangeException(nameof(messageReplacementToken));
System.Private.Xml (24)
System\Xml\Base64EncoderAsync.cs (1)
19throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count));
System\Xml\BinHexEncoderAsync.cs (1)
15throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count));
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (4)
18throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count)); 62throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count)); 106throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count)); 150throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count));
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
310throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count)); 364throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count));
System\Xml\Core\XmlReaderSettings.cs (1)
635throw new ArgumentOutOfRangeException(paramName);
System\Xml\Core\XmlSubtreeReader.cs (4)
295throw new ArgumentOutOfRangeException(nameof(i)); 308throw new ArgumentOutOfRangeException(nameof(i)); 364throw new ArgumentOutOfRangeException(nameof(i)); 379throw new ArgumentOutOfRangeException(nameof(i));
System\Xml\Core\XmlTextReaderImpl.cs (2)
8145throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? nameof(count) : "len"); 8150throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? nameof(index) : "offset");
System\Xml\Core\XmlWriterSettings.cs (1)
702throw new ArgumentOutOfRangeException(paramName);
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (3)
42throw new ArgumentOutOfRangeException(nameof(index)); 90throw new ArgumentOutOfRangeException(nameof(index)); 136throw new ArgumentOutOfRangeException(nameof(index));
System\Xml\Dom\XmlNodeReader.cs (4)
547throw new ArgumentOutOfRangeException(nameof(attributeIndex)); //for other senario, AttributeCount is 0, i has to be out of range 1358throw new ArgumentOutOfRangeException(nameof(attributeIndex)); 1409throw new ArgumentOutOfRangeException(nameof(attributeIndex)); 1422throw new ArgumentOutOfRangeException(nameof(attributeIndex));
System\Xml\XPath\XPathNavigatorReader.cs (1)
554throw new ArgumentOutOfRangeException(nameof(index));
System.Private.Xml.Linq (2)
System\Xml\Linq\XNodeReader.cs (2)
581throw new ArgumentOutOfRangeException(nameof(index)); 720throw new ArgumentOutOfRangeException(nameof(index));
System.Reflection.Emit (1)
System\Reflection\Emit\MethodBuilderImpl.cs (1)
137throw new ArgumentOutOfRangeException(SR.ArgumentOutOfRange_ParamSequence);
System.Reflection.Metadata (20)
System\Reflection\Internal\Utilities\MemoryBlock.cs (1)
30throw new ArgumentOutOfRangeException(nameof(length));
System\Reflection\Internal\Utilities\StreamExtensions.cs (1)
84throw new ArgumentOutOfRangeException(nameof(size));
System\Reflection\Metadata\BlobBuilder.cs (1)
703throw new ArgumentOutOfRangeException(nameof(byteCount));
System\Reflection\Metadata\BlobReader.cs (1)
703throw new ArgumentOutOfRangeException(nameof(typeCode));
System\Reflection\Metadata\Ecma335\Encoding\ExceptionRegionEncoder.cs (1)
259throw new ArgumentOutOfRangeException(nameof(kind));
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (2)
205throw new ArgumentOutOfRangeException(nameof(table)); 284throw new ArgumentOutOfRangeException(nameof(table));
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (4)
105_ => throw new ArgumentOutOfRangeException(nameof(tableIndex)), 186_ => throw new ArgumentOutOfRangeException(nameof(tableIndex)), 235_ => throw new ArgumentOutOfRangeException(nameof(heapIndex)), 401throw new ArgumentOutOfRangeException(nameof(rawTypeKind));
System\Reflection\Metadata\MetadataReaderProvider.cs (2)
80throw new ArgumentOutOfRangeException(nameof(size)); 177throw new ArgumentOutOfRangeException(nameof(options));
System\Reflection\Metadata\TypeName.cs (1)
493? throw new ArgumentOutOfRangeException(nameof(rank))
System\Reflection\PortableExecutable\PEReader.cs (2)
84throw new ArgumentOutOfRangeException(nameof(size)); 170throw new ArgumentOutOfRangeException(nameof(options));
System\Reflection\Throw.cs (4)
131throw new ArgumentOutOfRangeException(parameterName); 149throw new ArgumentOutOfRangeException("index"); 155throw new ArgumentOutOfRangeException("tableIndex"); 161throw new ArgumentOutOfRangeException("value");
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (1)
151throw new ArgumentOutOfRangeException(nameof(signatureFormat));
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (3)
53throw new ArgumentOutOfRangeException(nameof(pbeParameters)); 103throw new ArgumentOutOfRangeException(nameof(pbeParameters)); 169throw new ArgumentOutOfRangeException(nameof(iterationCount));
System\Security\Cryptography\DSA.cs (1)
1116throw new ArgumentOutOfRangeException(nameof(signatureFormat));
System\Security\Cryptography\ECDsa.cs (1)
1273throw new ArgumentOutOfRangeException(nameof(signatureFormat));
System\Security\Cryptography\Helpers.cs (1)
387throw new ArgumentOutOfRangeException(nameof(hashAlgorithmName));
System.Security.Cryptography.Pkcs (6)
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (3)
53throw new ArgumentOutOfRangeException(nameof(pbeParameters)); 103throw new ArgumentOutOfRangeException(nameof(pbeParameters)); 169throw new ArgumentOutOfRangeException(nameof(iterationCount));
System\Security\Cryptography\Pkcs\Asn1\Rfc3161Accuracy.manual.cs (1)
16throw new ArgumentOutOfRangeException(nameof(accuracyInMicroseconds));
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
332throw new ArgumentOutOfRangeException(nameof(index));
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
44throw new ArgumentOutOfRangeException(nameof(index));
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\NamedPipeTransportSecurity.cs (1)
37throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value)));
System\ServiceModel\NetNamedPipeSecurity.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value"));
System.ServiceModel.Syndication (4)
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
75throw new ArgumentOutOfRangeException(nameof(maxExtensionSize));
System\ServiceModel\Syndication\SyndicationLink.cs (2)
23throw new ArgumentOutOfRangeException(nameof(length)); 67throw new ArgumentOutOfRangeException(nameof(value));
System\ServiceModel\Syndication\TextSyndicationContent.cs (1)
22throw new ArgumentOutOfRangeException(nameof(textKind));
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\UnixDomainSocketSecurity.cs (1)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value)));
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (2)
40throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value))); 54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(nameof(value)));
System.Text.Encodings.Web (7)
System\Text\Encodings\Web\TextEncoder.cs (2)
613throw new ArgumentOutOfRangeException(nameof(startIndex)); 617throw new ArgumentOutOfRangeException(nameof(characterCount));
System\Text\Encodings\Web\ThrowHelper.cs (1)
20throw new ArgumentOutOfRangeException(GetArgumentName(argument));
System\Text\Unicode\UnicodeRange.cs (3)
27throw new ArgumentOutOfRangeException(nameof(firstCodePoint)); 31throw new ArgumentOutOfRangeException(nameof(length)); 58throw new ArgumentOutOfRangeException(nameof(lastCharacter));
System\ThrowHelper.cs (1)
46throw new ArgumentOutOfRangeException(GetArgumentName(argument));
System.Text.Json (11)
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
39throw new ArgumentOutOfRangeException(nameof(defaults));
System\Text\Json\Serialization\Attributes\JsonNumberHandlingAttribute.cs (1)
25throw new ArgumentOutOfRangeException(nameof(handling));
System\Text\Json\Serialization\Attributes\JsonObjectCreationHandlingAttribute.cs (1)
47throw new ArgumentOutOfRangeException(nameof(handling));
System\Text\Json\Serialization\JsonSerializerOptions.cs (3)
178throw new ArgumentOutOfRangeException(nameof(defaults)); 452throw new ArgumentOutOfRangeException(nameof(value)); 478throw new ArgumentOutOfRangeException(nameof(value));
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
213throw new ArgumentOutOfRangeException(nameof(value));
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
507throw new ArgumentOutOfRangeException(nameof(value)); 548throw new ArgumentOutOfRangeException(nameof(value)); 592throw new ArgumentOutOfRangeException(nameof(value));
System\ThrowHelper.cs (1)
46throw new ArgumentOutOfRangeException(GetArgumentName(argument));
System.Text.Json.SourceGeneration (2)
src\libraries\Common\src\SourceGenerators\SourceWriter.cs (1)
27static void Throw() => throw new ArgumentOutOfRangeException(nameof(value));
src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
39throw new ArgumentOutOfRangeException(nameof(defaults));
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Regex.Timeout.cs (1)
92throw new ArgumentOutOfRangeException(SR.Format(SR.IllegalDefaultRegexMatchTimeoutInAppDomain, DefaultMatchTimeout_ConfigKeyName, defaultMatchTimeOut));
System\Text\RegularExpressions\ThrowHelper.cs (1)
16throw new ArgumentOutOfRangeException(GetStringForExceptionArgument(arg));
System.Threading.Channels (4)
System\Threading\Channels\Channel.cs (1)
45throw new ArgumentOutOfRangeException(nameof(capacity));
System\Threading\Channels\ChannelOptions.cs (3)
56throw new ArgumentOutOfRangeException(nameof(capacity)); 70throw new ArgumentOutOfRangeException(nameof(value)); 91throw new ArgumentOutOfRangeException(nameof(value));
System.Threading.RateLimiting (4)
System\Threading\RateLimiting\PartitionedRateLimiter.T.cs (2)
34throw new ArgumentOutOfRangeException(nameof(permitCount)); 63throw new ArgumentOutOfRangeException(nameof(permitCount));
System\Threading\RateLimiting\RateLimiter.cs (2)
41throw new ArgumentOutOfRangeException(nameof(permitCount)); 68throw new ArgumentOutOfRangeException(nameof(permitCount));
System.Threading.Tasks.Dataflow (5)
Base\DataflowBlockOptions.cs (4)
137if (value < 1 && value != Unbounded) throw new ArgumentOutOfRangeException(nameof(value)); 157if (value < 1 && value != Unbounded) throw new ArgumentOutOfRangeException(nameof(value)); 292if (value < 1 && value != Unbounded) throw new ArgumentOutOfRangeException(nameof(value)); 435if (value <= 0 && value != Unbounded) throw new ArgumentOutOfRangeException(nameof(value));
Base\DataflowLinkOptions.cs (1)
97if (value < 1 && value != Unbounded) throw new ArgumentOutOfRangeException(nameof(value));
System.Transactions.Local (10)
System\Transactions\Transaction.cs (6)
492throw new ArgumentOutOfRangeException(nameof(enlistmentOptions)); 540throw new ArgumentOutOfRangeException(nameof(enlistmentOptions)); 627throw new ArgumentOutOfRangeException(nameof(enlistmentOptions)); 666throw new ArgumentOutOfRangeException(nameof(enlistmentOptions)); 743throw new ArgumentOutOfRangeException(nameof(cloneOption)); 954throw new ArgumentOutOfRangeException(nameof(enlistmentOptions));
System\Transactions\TransactionManager.cs (1)
522throw new ArgumentOutOfRangeException(nameof(transactionIsolationLevel));
System\Transactions\TransactionScope.cs (3)
458throw new ArgumentOutOfRangeException(nameof(scopeOption)); 1115throw new ArgumentOutOfRangeException(nameof(interopOption)); 1132throw new ArgumentOutOfRangeException(nameof(asyncFlowOption));
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
54throw new ArgumentOutOfRangeException(nameof(index));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
1055throw new ArgumentOutOfRangeException(parameterName);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
298throw new ArgumentOutOfRangeException(parameterName);
System.Windows.Forms (13)
System\Windows\Forms\Application.cs (1)
297_ => throw new ArgumentOutOfRangeException(nameof(systemColorMode))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (2)
100_ => throw new ArgumentOutOfRangeException(nameof(_childWindowType)) 108_ => throw new ArgumentOutOfRangeException(nameof(_childWindowType))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
24throw new ArgumentOutOfRangeException(nameof(cellAddress)); 29throw new ArgumentOutOfRangeException(nameof(cellAddress));
System\Windows\Forms\Controls\Labels\LinkClickedEventArgs.cs (1)
34throw new ArgumentOutOfRangeException(nameof(linkLength));
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
1566throw new ArgumentOutOfRangeException(nameof(alignment));
System\Windows\Forms\Form.cs (4)
1200throw new ArgumentOutOfRangeException(nameof(MaximumSize)); 1313throw new ArgumentOutOfRangeException(nameof(MinimumSize)); 2203_ => throw new ArgumentOutOfRangeException(nameof(value)) 2243_ => throw new ArgumentOutOfRangeException(nameof(cornerPreference))
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1346throw new ArgumentOutOfRangeException(nameof(rectangle)); 1514throw new ArgumentOutOfRangeException(nameof(pixelsBetweenDots));
System.Windows.Forms.Primitives.TestUtilities (2)
Metafiles\DataHelpers.cs (1)
17throw new ArgumentOutOfRangeException(nameof(values));
Metafiles\RecordTypes\EMRPOLYPOLY16.cs (1)
70throw new ArgumentOutOfRangeException(nameof(index));
System.Xaml (27)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (26)
286throw new ArgumentOutOfRangeException(nameof(index)); 475throw new ArgumentOutOfRangeException(nameof(index)); 482throw new ArgumentOutOfRangeException(nameof(index)); 503throw new ArgumentOutOfRangeException(nameof(index)); 554throw new ArgumentOutOfRangeException(nameof(index)); 575throw new ArgumentOutOfRangeException(nameof(index)); 607throw new ArgumentOutOfRangeException(nameof(oldList)); 651throw new ArgumentOutOfRangeException(nameof(oldList)); 869throw new ArgumentOutOfRangeException(nameof(index)); 876throw new ArgumentOutOfRangeException(nameof(index)); 909throw new ArgumentOutOfRangeException(nameof(index)); 1005throw new ArgumentOutOfRangeException(nameof(index)); 1035throw new ArgumentOutOfRangeException(nameof(index)); 1091throw new ArgumentOutOfRangeException(nameof(oldList)); 1130throw new ArgumentOutOfRangeException(nameof(oldList)); 1191throw new ArgumentOutOfRangeException(nameof(oldList)); 1374throw new ArgumentOutOfRangeException(nameof(index)); 1480throw new ArgumentOutOfRangeException(nameof(oldList)); 1713throw new ArgumentOutOfRangeException(nameof(index)); 1725throw new ArgumentOutOfRangeException(nameof(index)); 1842throw new ArgumentOutOfRangeException(nameof(index)); 1863throw new ArgumentOutOfRangeException(nameof(index)); 2093throw new ArgumentOutOfRangeException(nameof(index)); 2105throw new ArgumentOutOfRangeException(nameof(index)); 2222throw new ArgumentOutOfRangeException(nameof(index)); 2243throw new ArgumentOutOfRangeException(nameof(index));
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
464throw new ArgumentOutOfRangeException(nameof(i));
vbc (1)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
181throw new ArgumentOutOfRangeException($"Request is over {MaximumRequestSize >> 20}MB in length");
VBCSCompiler (1)
src\Compilers\Core\CommandLine\BuildProtocol.cs (1)
181throw new ArgumentOutOfRangeException($"Request is over {MaximumRequestSize >> 20}MB in length");