159 references to IndexOutOfRangeException
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\HWStack.cs (2)
87throw new IndexOutOfRangeException(); 98throw new IndexOutOfRangeException();
http2cat (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
IIS.FunctionalTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
IIS.LongTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
IIS.NewHandler.FunctionalTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
IIS.NewShim.FunctionalTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
IISExpress.FunctionalTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
Microsoft.Build (3)
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (3)
41throw new IndexOutOfRangeException(); 49throw new IndexOutOfRangeException(); 56throw new IndexOutOfRangeException();
Microsoft.Build.Engine.UnitTests (5)
BackEnd\EventSourceSink_Tests.cs (4)
193Exception[] exceptionArray = new Exception[] { new IndexOutOfRangeException(), new Exception() }; //// two non-critical exceptions 204Exception[] exceptionArray1 = new Exception[] { new IndexOutOfRangeException(), new Exception() }; //// two non-critical exceptions 228Exception[] exceptionArray = new Exception[] { new OutOfMemoryException(), new IndexOutOfRangeException(), new Exception() }; //// two non-critical exceptions, one critical 239Exception[] exceptionArray1 = new Exception[] { new OutOfMemoryException(), new IndexOutOfRangeException(), new Exception() }; //// two non-critical exceptions, one critical
BackEnd\TaskBuilderTestTask.cs (1)
1215throw new IndexOutOfRangeException();
Microsoft.Build.Framework (1)
ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis (10)
Collections\BitVector.cs (2)
347throw new IndexOutOfRangeException(); 359throw new IndexOutOfRangeException();
Collections\OrderPreservingMultiDictionary.cs (1)
222throw new IndexOutOfRangeException();
InternalUtilities\SetWithInsertionOrder.cs (1)
46throw new IndexOutOfRangeException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
Syntax\SyntaxTriviaList.cs (1)
494throw new IndexOutOfRangeException();
Syntax\SyntaxTriviaListBuilder.cs (1)
54throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.CodeStyle (8)
src\Compilers\Core\Portable\Collections\BitVector.cs (2)
347throw new IndexOutOfRangeException(); 359throw new IndexOutOfRangeException();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
222throw new IndexOutOfRangeException();
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
46throw new IndexOutOfRangeException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
96throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.Collections.Package (4)
Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.Workspaces (9)
src\Compilers\Core\Portable\Collections\BitVector.cs (2)
347throw new IndexOutOfRangeException(); 359throw new IndexOutOfRangeException();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
222throw new IndexOutOfRangeException();
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
46throw new IndexOutOfRangeException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
96throw new IndexOutOfRangeException();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
46throw new IndexOutOfRangeException();
src\Dependencies\Collections\Internal\ThrowHelper.cs (1)
50throw new IndexOutOfRangeException();
src\Dependencies\Collections\OneOrMany.cs (1)
74throw new IndexOutOfRangeException();
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
69throw new IndexOutOfRangeException();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
440=> throw new IndexOutOfRangeException();
PresentationCore (3)
MS\Internal\Ink\StrokeNodeEnumerator.cs (1)
197throw new IndexOutOfRangeException();
System\Windows\Media\Imaging\BitmapSource.cs (1)
668throw new IndexOutOfRangeException();
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
502throw new IndexOutOfRangeException();
PresentationFramework (1)
System\Windows\ThemeDictionaryExtension.cs (1)
136throw new IndexOutOfRangeException();
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
129private static void ThrowIndexOutOfRangeException() => throw new IndexOutOfRangeException();
System.ComponentModel.TypeConverter (5)
System\ComponentModel\EventDescriptorCollection.cs (2)
81throw new IndexOutOfRangeException(); 388throw new IndexOutOfRangeException();
System\ComponentModel\PropertyDescriptorCollection.cs (3)
87throw new IndexOutOfRangeException(); 471throw new IndexOutOfRangeException(); 575throw new IndexOutOfRangeException();
System.Linq.Expressions (2)
System\Runtime\CompilerServices\RuntimeOps.RuntimeVariableList.cs (2)
47throw new IndexOutOfRangeException(); 51throw new IndexOutOfRangeException();
System.Net.Http (5)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\DynamicTable.cs (1)
37throw new IndexOutOfRangeException();
src\libraries\Common\src\System\Net\MultiArrayBuffer.cs (4)
332throw new IndexOutOfRangeException(); 346throw new IndexOutOfRangeException(); 367throw new IndexOutOfRangeException(); 379throw new IndexOutOfRangeException();
System.Net.NameResolution (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
48throw new IndexOutOfRangeException();
System.Net.Ping (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
48throw new IndexOutOfRangeException();
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\SocketAddress.cs (2)
58throw new IndexOutOfRangeException(); 66throw new IndexOutOfRangeException();
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
48throw new IndexOutOfRangeException();
System.Net.Quic (5)
src\libraries\Common\src\System\Net\MultiArrayBuffer.cs (4)
332throw new IndexOutOfRangeException(); 346throw new IndexOutOfRangeException(); 367throw new IndexOutOfRangeException(); 379throw new IndexOutOfRangeException();
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
48throw new IndexOutOfRangeException();
System.Net.Sockets (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
48throw new IndexOutOfRangeException();
System.Numerics.Tensors (1)
System\ThrowHelper.cs (1)
73throw new IndexOutOfRangeException();
System.Private.CoreLib (28)
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (1)
324ExceptionIDs.IndexOutOfRange => new IndexOutOfRangeException(),
src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (1)
46throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
292throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
92throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
46throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeInfo.cs (1)
140throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
458throw new IndexOutOfRangeException(); 465throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
89throw new IndexOutOfRangeException();
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (7)
213throw new IndexOutOfRangeException(); 338_ => throw new IndexOutOfRangeException(), 470_ => throw new IndexOutOfRangeException(), 612_ => throw new IndexOutOfRangeException(), 764_ => throw new IndexOutOfRangeException(), 926_ => throw new IndexOutOfRangeException(), 1098_ => throw new IndexOutOfRangeException(),
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (9)
139object? ITuple.this[int index] => throw new IndexOutOfRangeException(); 412throw new IndexOutOfRangeException(); 616_ => throw new IndexOutOfRangeException(), 814_ => throw new IndexOutOfRangeException(), 1030_ => throw new IndexOutOfRangeException(), 1264_ => throw new IndexOutOfRangeException(), 1516_ => throw new IndexOutOfRangeException(), 1786_ => throw new IndexOutOfRangeException(), 2232throw new IndexOutOfRangeException();
src\System\Reflection\MdImport.cs (1)
121throw new IndexOutOfRangeException();
src\System\Runtime\CompilerServices\CastHelpers.cs (1)
405throw new IndexOutOfRangeException();
src\System\RuntimeType.CoreCLR.cs (1)
3696throw new IndexOutOfRangeException();
System.Private.Xml (27)
System\Xml\HWStack.cs (2)
86throw new IndexOutOfRangeException(); 97throw new IndexOutOfRangeException();
System\Xml\NameTable.cs (2)
93throw new IndexOutOfRangeException(); 150throw new IndexOutOfRangeException();
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (1)
137_ => throw new IndexOutOfRangeException(),
System\Xml\Xsl\QIL\QilBinary.cs (2)
52_ => throw new IndexOutOfRangeException(), 61default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilExpression.cs (2)
74_ => throw new IndexOutOfRangeException(), 89default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilFunction.cs (2)
62_ => throw new IndexOutOfRangeException(), 72default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilIterator.cs (2)
40get { if (index != 0) throw new IndexOutOfRangeException(); return _binding!; } 41set { if (index != 0) throw new IndexOutOfRangeException(); _binding = value; }
System\Xml\Xsl\QIL\QilList.cs (4)
103throw new IndexOutOfRangeException(); 110throw new IndexOutOfRangeException(); 120throw new IndexOutOfRangeException(); 142throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilNode.cs (2)
121get { throw new IndexOutOfRangeException(); } 122set { throw new IndexOutOfRangeException(); }
System\Xml\Xsl\QIL\QilParameter.cs (2)
47_ => throw new IndexOutOfRangeException(), 56default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilTernary.cs (2)
54_ => throw new IndexOutOfRangeException(), 64default: throw new IndexOutOfRangeException();
System\Xml\Xsl\QIL\QilUnary.cs (2)
45get { if (index != 0) throw new IndexOutOfRangeException(); return _child; } 46set { if (index != 0) throw new IndexOutOfRangeException(); _child = value; }
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
461throw new IndexOutOfRangeException();
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
676throw new IndexOutOfRangeException();
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
292throw new IndexOutOfRangeException();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
318throw new IndexOutOfRangeException(); // This is an impressively uninformative exception, unfortunately, this is the compatible behavior.
System.Text.Json (2)
System\Text\Json\Document\JsonDocument.cs (2)
163throw new IndexOutOfRangeException(); 196throw new IndexOutOfRangeException();
System.Windows.Forms (5)
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
580throw new IndexOutOfRangeException();
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (1)
436? throw new IndexOutOfRangeException()
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (1)
155throw new IndexOutOfRangeException();
System\Windows\Forms\Internal\ItemArray.cs (2)
161throw new IndexOutOfRangeException(); 176throw new IndexOutOfRangeException();
System.Xaml (1)
System\Xaml\ReaderMultiIndexDelegate.cs (1)
84throw new IndexOutOfRangeException();