1 write to _states
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
757_states = ArrayBuilder<EntryState>.GetInstance(_requestedCapacity);
7 references to _states
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\NodeStateTable.cs (7)
749else if (_states is not null) 751_states.Add(state); 759_states.Add(_currentState.Value); 762_states.Add(state); 772Debug.Assert(_states == null || _states.Count == _requestedCapacity); 774return new TableEntry(_items.ToOneOrManyAndFree(), _states?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);