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