65 references to index
System.Private.CoreLib (65)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
496ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 544ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 556ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 604ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 1063ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
src\libraries\System.Private.CoreLib\src\System\Buffer.cs (2)
81ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 92ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Char.cs (18)
608ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 623ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 643ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 664ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 681ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 723ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 756ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 798ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 823ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 853ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 870ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 890ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 916ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 940ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 962ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 984ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1001ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1108ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_IndexMustBeLess);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
447ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (2)
775ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_ListInsert); 927ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (5)
48ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 115ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 149ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 224ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 353ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.Extensions.cs (2)
22ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 39ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
732ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 2168ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.Extensions.cs (2)
22ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 39ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.Extensions.cs (2)
22ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 39ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.Extensions.cs (2)
22ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 39ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
1607ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 3164ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1585ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 3094ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1632ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 3106ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1408ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 3062ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
88ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 448ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (4)
65ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 367ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 499argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.count, 577argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.count,
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
782ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (3)
138ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 449ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.count, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum); 687argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.count,
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (4)
149throw GetArgumentOutOfRangeException(ExceptionArgument.index, 156throw GetArgumentOutOfRangeException(ExceptionArgument.index, 169throw GetArgumentOutOfRangeException(ExceptionArgument.index, 913case ExceptionArgument.index: