47 references to IndexOutOfRangeException
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (1)
31
throw new
IndexOutOfRangeException
(ResXml.Xdom_IndexOutOfRange);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (1)
80
throw new
IndexOutOfRangeException
(ResXml.Xdom_IndexOutOfRange);
ErrorPageMiddlewareWebSite (1)
AggregateExceptionController.cs (1)
28
throw new
IndexOutOfRangeException
("Index is out of range");
Microsoft.Data.Analysis (3)
DataFrameColumns\StringDataFrameColumn.cs (1)
525
throw new
IndexOutOfRangeException
(nameof(row));
DataFrameColumns\VBufferDataFrameColumn.cs (1)
208
throw new
IndexOutOfRangeException
(nameof(row));
PrimitiveDataFrameColumn.cs (1)
914
throw 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)
67
throw new
IndexOutOfRangeException
(nameof(index));
Microsoft.Extensions.Logging.Abstractions (9)
FormattedLogValues.cs (1)
66
throw new
IndexOutOfRangeException
(nameof(index));
LoggerMessage.cs (7)
485
throw new
IndexOutOfRangeException
(nameof(index));
528
throw new
IndexOutOfRangeException
(nameof(index));
580
throw new
IndexOutOfRangeException
(nameof(index));
629
throw new
IndexOutOfRangeException
(nameof(index));
687
throw new
IndexOutOfRangeException
(nameof(index));
751
throw new
IndexOutOfRangeException
(nameof(index));
819
throw new
IndexOutOfRangeException
(nameof(index));
LogValuesFormatter.cs (1)
225
throw 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)
239
Return New
IndexOutOfRangeException
(Description)
PresentationCore (1)
MS\Internal\Ink\Quad.cs (1)
58
throw new
IndexOutOfRangeException
("index");
PresentationFramework (7)
System\Windows\Documents\TextElementCollection.cs (7)
458
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
477
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
488
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
543
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
550
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
768
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
775
throw new
IndexOutOfRangeException
(SR.TextElementCollection_IndexOutOfRange);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (1)
220
throw new
IndexOutOfRangeException
(nameof(index));
System\ComponentModel\MaskedTextProvider.cs (1)
794
throw new
IndexOutOfRangeException
(index.ToString(CultureInfo.CurrentCulture));
System.Data.Common (2)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
95
IndexOutOfRangeException e = new
IndexOutOfRangeException
(error);
System\Data\DataException.cs (1)
342
private static Exception _IndexOutOfRange(string error) => TraceExceptionAsReturnValue(new
IndexOutOfRangeException
(error));
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
95
IndexOutOfRangeException e = new
IndexOutOfRangeException
(error);
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\DataCollector.cs (4)
82
throw new
IndexOutOfRangeException
(SR.EventSource_AddScalarOutOfRange);
314
throw new
IndexOutOfRangeException
(SR.EventSource_PinArrayOutOfRange);
320
throw new
IndexOutOfRangeException
(SR.EventSource_DataDescriptorsOutOfRange);
338
throw new
IndexOutOfRangeException
(SR.EventSource_DataDescriptorsOutOfRange);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
308
throw new
IndexOutOfRangeException
(SR.IndexOutOfRange_UMSPosition);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
39
throw new
IndexOutOfRangeException
(SR.IndexOutOfRange_ArrayWithOffset);
src\System\Array.CoreCLR.cs (3)
639
throw new
IndexOutOfRangeException
(SR.IndexOutOfRange_ArrayRankIndex);
652
throw new
IndexOutOfRangeException
(SR.IndexOutOfRange_ArrayRankIndex);
666
throw new
IndexOutOfRangeException
(SR.IndexOutOfRange_ArrayRankIndex);
System.Private.Xml (2)
System\Xml\Dom\XmlAttributeCollection.cs (1)
29
throw new
IndexOutOfRangeException
(SR.Xdom_IndexOutOfRange);
System\Xml\Dom\XmlNamedNodemap.cs (1)
79
throw new
IndexOutOfRangeException
(SR.Xdom_IndexOutOfRange);
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\CurrencyManager.cs (3)
258
throw new
IndexOutOfRangeException
(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture)));
267
throw new
IndexOutOfRangeException
(string.Format(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture)));
341
throw new
IndexOutOfRangeException
(SR.ListManagerBadPosition);