62 references to index
System.Private.CoreLib (62)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Buffer.cs (2)
83
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
94
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (18)
675
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
690
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
710
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
731
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
748
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
790
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
823
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
865
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
890
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
920
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
937
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
957
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
983
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1007
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1029
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1051
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1068
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1175
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_IndexMustBeLess);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
447
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
1472
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3790
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (2)
42
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
116
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (2)
37
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
111
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
1962
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4227
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
2054
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4176
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
2103
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4169
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1959
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4384
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
89
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
449
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (4)
66
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
368
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
500
argument: (index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count,
578
argument: (index < 0) ? ExceptionArgument.
index
: ExceptionArgument.count,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
831
ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.
index
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
2898
ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.
index
);
src\runtime\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\runtime\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
,
905
case ExceptionArgument.
index
: