1 write to _items
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
730
_items
= ArrayBuilder<T>.GetInstance(capacity);
5 references to _items
Microsoft.CodeAnalysis (5)
SourceGeneration\Nodes\NodeStateTable.cs (5)
736
_items
.Add(item);
751
for (int i = 0, n =
_items
.Count - 1; i < n; i++)
762
Debug.Assert(
_items
.Count >= 1, "Created a builder with no values?");
764
Debug.Assert(
_items
.Count == _requestedCapacity);
767
return new TableEntry(
_items
.ToOneOrManyAndFree(), _states?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);