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)
749
else if (
_states
is not null)
751
_states
.Add(state);
759
_states
.Add(_currentState.Value);
762
_states
.Add(state);
772
Debug.Assert(
_states
== null ||
_states
.Count == _requestedCapacity);
774
return new TableEntry(_items.ToOneOrManyAndFree(),
_states
?.ToImmutableAndFree() ?? GetSingleArray(_currentState.Value), anyRemoved: _anyRemoved);