6 references to ToBuilder
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\DriverStateTable.cs (1)
69return previousTable.ToBuilder(stepName, DriverState.TrackIncrementalSteps, equalityComparer, tableCapacity);
SourceGeneration\Nodes\InputNode.cs (1)
130var tableBuilder = NodeStateTable<T>.Empty.ToBuilder(_name, stepTrackingEnabled: false, tableCapacity: inputs.Length);
SourceGeneration\Nodes\NodeStateTable.cs (1)
189NodeStateTable<T>.Builder builder = ToBuilder(stepName, stepTrackingEnabled: true, equalityComparer);
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (2)
51_filterTable = table.GetStateTableOrEmpty<SyntaxNode>(_owner._filterKey).ToBuilder(stepName: null, trackIncrementalSteps); 52_transformTable = table.GetStateTableOrEmpty<T>(_key).ToBuilder(_name, trackIncrementalSteps, _comparer);
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (1)
43_nodeStateTable = driverStateTable.GetStateTableOrEmpty<ISyntaxContextReceiver?>(_key).ToBuilder(stepName: null, trackIncrementalSteps);