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); 751for (int i = 0, n = _items.Count - 1; i < n; i++) 762Debug.Assert(_items.Count >= 1, "Created a builder with no values?"); 764Debug.Assert(_items.Count == _requestedCapacity); 767return new TableEntry(_items.ToOneOrManyAndFree(), _states?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);