6 references to Capacity
Microsoft.Extensions.Primitives (6)
InplaceStringBuilder.cs (6)
89
if (
Capacity
- _offset < count)
91
throw new InvalidOperationException(SR.Format(SR.Capacity_NotEnough, count,
Capacity
- _offset));
111
if (_offset >=
Capacity
)
113
throw new InvalidOperationException(SR.Format(SR.Capacity_NotEnough, 1,
Capacity
- _offset));
128
if (
Capacity
!= _offset)
130
throw new InvalidOperationException(SR.Format(SR.Capacity_NotUsedEntirely,
Capacity
, _offset));