18 references to InlineCapacity
Microsoft.AspNetCore.Razor.Utilities.Shared (18)
PooledObjects\PooledArrayBuilder`1.cs (18)
40
/// of items exceeds <see cref="
InlineCapacity
"/>. Once the builder is used,
41
/// it is still used even if the number of items shrinks below <see cref="
InlineCapacity
"/>.
63
_capacity = capacity is >
InlineCapacity
? capacity : null;
146
Debug.Assert(_inlineCount <=
InlineCapacity
);
205
Debug.Assert(_inlineCount <=
InlineCapacity
);
220
Debug.Assert(_inlineCount <=
InlineCapacity
);
250
=> _builder?.Capacity ?? _capacity ??
InlineCapacity
;
274
else if (_inlineCount + items.Length <=
InlineCapacity
)
316
if (_inlineCount + count <=
InlineCapacity
)
364
else if (_inlineCount <
InlineCapacity
)
395
else if (_inlineCount + items.Length <=
InlineCapacity
)
429
else if (_inlineCount + items.Length <=
InlineCapacity
)
485
if (_inlineCount + count <=
InlineCapacity
)
538
if (_inlineCount + itemCount <=
InlineCapacity
)
659
Debug.Assert(_inlineCount <=
InlineCapacity
);
1608
else if (builder.Capacity <
InlineCapacity
)
1610
builder.Capacity =
InlineCapacity
;
1631
Debug.Assert(offset + _inlineCount <=
InlineCapacity
);