65 references to index
System.Private.CoreLib (65)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
496
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
544
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
556
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
604
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1063
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
src\libraries\System.Private.CoreLib\src\System\Buffer.cs (2)
81
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
92
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Char.cs (18)
608
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
623
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
643
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
664
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
681
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
723
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
756
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
798
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
823
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
853
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
870
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
890
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
916
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
940
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
962
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
984
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1001
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
1108
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\Quaternion.Extensions.cs (2)
22
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
39
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
732
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
2168
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (2)
22
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
39
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (2)
22
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
39
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.Extensions.cs (2)
22
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
39
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
1607
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3164
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1585
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3094
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1632
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3106
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1408
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3062
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)
782
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
,
913
case ExceptionArgument.
index
: