33 references to count
System.Private.CoreLib (33)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (7)
305
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
682
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
917
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
932
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_BiggerThanCollection);
1029
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1069
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1109
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
884
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
918
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
321
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
645
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
965
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.Argument_InvalidOffLen);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (4)
173
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
213
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
473
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
622
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (4)
89
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
135
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
449
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
477
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (6)
51
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
66
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
343
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
368
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
500
argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
,
578
argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (5)
138
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
184
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
449
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
477
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
687
argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
,
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
204
throw GetArgumentOutOfRangeException(ExceptionArgument.
count
,
917
case ExceptionArgument.
count
: