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