61 references to index
System.Private.CoreLib (61)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
881
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
929
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
941
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
989
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1444
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)
641
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
656
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
676
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
697
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
714
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
756
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
789
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
831
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
856
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
886
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
903
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
923
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
949
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
973
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
995
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1017
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1034
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1141
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
);
115
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
149
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
224
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
353
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
1126
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3469
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)
1688
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4320
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1781
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4282
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1814
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4259
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1580
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4250
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)
799
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)
143
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
150
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
163
throw GetArgumentOutOfRangeException(ExceptionArgument.
index
,
905
case ExceptionArgument.
index
: