44 references to IndexOutOfRangeException
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (1)
31throw new IndexOutOfRangeException(ResXml.Xdom_IndexOutOfRange);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (1)
80throw new IndexOutOfRangeException(ResXml.Xdom_IndexOutOfRange);
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
392default: throw new IndexOutOfRangeException(nameof(index));
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\LogValuesFormatter.cs (1)
153throw new IndexOutOfRangeException(nameof(index));
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\CodeGeneration\CodeWriter.cs (1)
176throw new IndexOutOfRangeException(nameof(index));
Microsoft.Data.Analysis (3)
DataFrameColumns\StringDataFrameColumn.cs (1)
525throw new IndexOutOfRangeException(nameof(row));
DataFrameColumns\VBufferDataFrameColumn.cs (1)
208throw new IndexOutOfRangeException(nameof(row));
PrimitiveDataFrameColumn.cs (1)
914throw new IndexOutOfRangeException(nameof(row));
Microsoft.Extensions.Caching.Hybrid (1)
Internal\TagSet.cs (1)
80_ => throw new IndexOutOfRangeException(nameof(index)),
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoggerMessage.g.cs (1)
146_ => throw new global::System.IndexOutOfRangeException(nameof(index)), // return the same exception LoggerMessage.Define returns in this case
Microsoft.Maui (2)
CommandMapper.cs (1)
94 var action = GetCommand(key) ?? throw new IndexOutOfRangeException($"Unable to find mapping for '{nameof(key)}'.");
PropertyMapper.cs (1)
238 var action = GetProperty(key) ?? throw new IndexOutOfRangeException($"Unable to find mapping for '{nameof(key)}'.");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
239Return New IndexOutOfRangeException(Description)
PresentationCore (1)
MS\Internal\Ink\Quad.cs (1)
58throw new IndexOutOfRangeException("index");
PresentationFramework (7)
System\Windows\Documents\TextElementCollection.cs (7)
458throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 477throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 488throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 543throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 550throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 768throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange); 775throw new IndexOutOfRangeException(SR.TextElementCollection_IndexOutOfRange);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MaskedTextProvider.cs (1)
794throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
System.Data.Common (2)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
92IndexOutOfRangeException e = new IndexOutOfRangeException(error);
System\Data\DataException.cs (1)
342private static Exception _IndexOutOfRange(string error) => TraceExceptionAsReturnValue(new IndexOutOfRangeException(error));
System.Data.Odbc (1)
src\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
92IndexOutOfRangeException e = new IndexOutOfRangeException(error);
System.Data.OleDb (1)
System\Data\Common\AdapterUtil.cs (1)
114IndexOutOfRangeException e = new IndexOutOfRangeException(error);
System.Drawing.Common (4)
System\Drawing\Imaging\ColorMatrix.cs (4)
359throw new IndexOutOfRangeException(nameof(row)); 364throw new IndexOutOfRangeException(nameof(column)); 376throw new IndexOutOfRangeException(nameof(row)); 381throw new IndexOutOfRangeException(nameof(column));
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (3)
776throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex); 789throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex); 805throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\DataCollector.cs (4)
83throw new IndexOutOfRangeException(SR.EventSource_AddScalarOutOfRange); 315throw new IndexOutOfRangeException(SR.EventSource_PinArrayOutOfRange); 321throw new IndexOutOfRangeException(SR.EventSource_DataDescriptorsOutOfRange); 339throw new IndexOutOfRangeException(SR.EventSource_DataDescriptorsOutOfRange);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
309throw new IndexOutOfRangeException(SR.IndexOutOfRange_UMSPosition);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
39throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayWithOffset);
System.Private.Xml (2)
System\Xml\Dom\XmlAttributeCollection.cs (1)
29throw new IndexOutOfRangeException(SR.Xdom_IndexOutOfRange);
System\Xml\Dom\XmlNamedNodemap.cs (1)
79throw new IndexOutOfRangeException(SR.Xdom_IndexOutOfRange);
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\CurrencyManager.cs (3)
258throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 267throw new IndexOutOfRangeException(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 341throw new IndexOutOfRangeException(SR.ListManagerBadPosition);