33 references to count
System.Private.CoreLib (33)
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\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\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
320
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
644
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
962
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.Argument_InvalidOffLen);
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (4)
95
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
135
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
291
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
339
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_Count);
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (4)
88
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
134
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
448
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
476
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (6)
50
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
65
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
342
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
367
ThrowHelper.ThrowArgumentOutOfRangeException((index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
499
argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
,
577
argument: (index < 0) ? ExceptionArgument.index : ExceptionArgument.
count
,
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\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
198
throw GetArgumentOutOfRangeException(ExceptionArgument.
count
,
917
case ExceptionArgument.
count
: