8 references to capacity
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
50
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
);
1116
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
);
1163
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (2)
124
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
);
942
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (2)
49
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
437
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
capacity
, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
915
case ExceptionArgument.
capacity
: