1 write to _states
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
750_states = ArrayBuilder<EntryState>.GetInstance(_requestedCapacity);
7 references to _states
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\NodeStateTable.cs (7)
742else if (_states is not null) 744_states.Add(state); 752_states.Add(_currentState.Value); 755_states.Add(state); 765Debug.Assert(_states == null || _states.Count == _requestedCapacity); 767return new TableEntry(_items.ToOneOrManyAndFree(), _states?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);