6 references to ToBuilder
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\DriverStateTable.cs (1)
69
return previousTable.
ToBuilder
(stepName, DriverState.TrackIncrementalSteps, equalityComparer, tableCapacity);
SourceGeneration\Nodes\InputNode.cs (1)
130
var tableBuilder = NodeStateTable<T>.Empty.
ToBuilder
(_name, stepTrackingEnabled: false, tableCapacity: inputs.Length);
SourceGeneration\Nodes\NodeStateTable.cs (1)
189
NodeStateTable<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);