47 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);
ErrorPageMiddlewareWebSite (1)
AggregateExceptionController.cs (1)
28throw new IndexOutOfRangeException("Index is out of range");
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.Http (1)
Logging\HttpHeadersLogValue.cs (1)
67throw new IndexOutOfRangeException(nameof(index));
Microsoft.Extensions.Logging.Abstractions (9)
FormattedLogValues.cs (1)
66throw new IndexOutOfRangeException(nameof(index));
LoggerMessage.cs (7)
485throw new IndexOutOfRangeException(nameof(index)); 528throw new IndexOutOfRangeException(nameof(index)); 580throw new IndexOutOfRangeException(nameof(index)); 629throw new IndexOutOfRangeException(nameof(index)); 687throw new IndexOutOfRangeException(nameof(index)); 751throw new IndexOutOfRangeException(nameof(index)); 819throw new IndexOutOfRangeException(nameof(index));
LogValuesFormatter.cs (1)
225throw new IndexOutOfRangeException(nameof(index));
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 (2)
System\ComponentModel\Design\DesignerOptionService.cs (1)
220throw new IndexOutOfRangeException(nameof(index));
System\ComponentModel\MaskedTextProvider.cs (1)
794throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
System.Data.Common (2)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
95IndexOutOfRangeException e = new IndexOutOfRangeException(error);
System\Data\DataException.cs (1)
342private static Exception _IndexOutOfRange(string error) => TraceExceptionAsReturnValue(new IndexOutOfRangeException(error));
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
95IndexOutOfRangeException e = new IndexOutOfRangeException(error);
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\DataCollector.cs (4)
82throw new IndexOutOfRangeException(SR.EventSource_AddScalarOutOfRange); 314throw new IndexOutOfRangeException(SR.EventSource_PinArrayOutOfRange); 320throw new IndexOutOfRangeException(SR.EventSource_DataDescriptorsOutOfRange); 338throw new IndexOutOfRangeException(SR.EventSource_DataDescriptorsOutOfRange);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
308throw new IndexOutOfRangeException(SR.IndexOutOfRange_UMSPosition);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
39throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayWithOffset);
src\System\Array.CoreCLR.cs (3)
639throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex); 652throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex); 666throw new IndexOutOfRangeException(SR.IndexOutOfRange_ArrayRankIndex);
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);