62 references to index
System.Private.CoreLib (62)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
886ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 934ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 946ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 994ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported); 1449ThrowHelper.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)
660ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 675ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 695ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 716ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 733ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 775ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 808ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 850ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 875ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 905ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 922ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 942ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 968ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 992ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1014ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1036ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1053ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 1160ThrowHelper.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); 142ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 176ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 251ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 380ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
1200ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 3543ThrowHelper.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)
1771ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 4403ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
1855ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 4356ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
1888ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 4333ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
1654ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index); 4324ThrowHelper.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)
829ThrowHelper.ThrowArgumentException_CannotExtractScalar(ExceptionArgument.index);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
2883ThrowHelper.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, 911case ExceptionArgument.index: