61 references to index
System.Private.CoreLib (61)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
494
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
542
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
554
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
602
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1057
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\Vector.cs (2)
1108
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3473
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (2)
33
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
100
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (2)
33
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
100
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
1665
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3908
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1754
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3944
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1803
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
3937
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1565
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
index
);
4072
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)
797
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
: