62 references to index
System.Private.CoreLib (62)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
886
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
934
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
946
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
994
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1449
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
src\libraries\System.Private.CoreLib\src\System\Buffer.cs (2)
82
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
93
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Char.cs (18)
660
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
675
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
695
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
716
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
733
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
775
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
808
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
850
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
875
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
905
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
922
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
942
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
968
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
992
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1014
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1036
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1053
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1160
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_IndexMustBeLess);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
447
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (2)
775
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_ListInsert);
927
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (5)
48
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
142
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
176
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
251
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
380
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
1200
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3543
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (2)
43
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
110
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (2)
38
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
105
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
1771
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4403
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1855
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4356
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1888
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4333
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1654
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4324
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
88
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
448
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (4)
65
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
367
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
499
argument: (index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count,
577
argument: (index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count,
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
829
ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
2883
ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (3)
138
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
449
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
687
argument: (index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count,
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (4)
149
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
156
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
169
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
911
case ExceptionArgument.
index
: