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)
742
else if (
_states
is not null)
744
_states
.Add(state);
752
_states
.Add(_currentState.Value);
755
_states
.Add(state);
765
Debug.Assert(
_states
== null ||
_states
.Count == _requestedCapacity);
767
return new TableEntry(_items.ToOneOrManyAndFree(),
_states
?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);