16 references to ThrowArgumentOutOfRangeException
System (16)
compmod\system\collections\generic\queue.cs (3)
61
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
136
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_Index);
171
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
compmod\system\collections\generic\sorteddictionary.cs (2)
500
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
655
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
compmod\system\collections\generic\sortedlist.cs (7)
108
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
219
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity);
412
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
439
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
489
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
515
if (index < 0 || index >= _size) ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
629
if (index < 0 || index >= _size) ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.index, ExceptionResource.ArgumentOutOfRange_Index);
compmod\system\collections\generic\sortedset.cs (1)
632
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
compmod\system\collections\generic\stack.cs (3)
56
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
143
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
168
ThrowHelper.
ThrowArgumentOutOfRangeException
(ExceptionArgument.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);