1 instantiation of GeneratorRunStateTable
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\GeneratorRunStateTable.cs (1)
54
return new
GeneratorRunStateTable
(StepCollectionToImmutable(_namedSteps), StepCollectionToImmutable(_outputSteps));
8 references to GeneratorRunStateTable
Microsoft.CodeAnalysis (8)
SourceGeneration\GeneratorDriver.cs (4)
267
IncrementalExecutionContext context = UpdateOutputs(outputNodes, IncrementalGeneratorOutputKind.PostInit, new
GeneratorRunStateTable
.Builder(false), cancellationToken);
324
var context = UpdateOutputs(generatorState.OutputNodes, IncrementalGeneratorOutputKind.Source | IncrementalGeneratorOutputKind.Implementation | IncrementalGeneratorOutputKind.Host, new
GeneratorRunStateTable
.Builder(state.TrackIncrementalSteps), cancellationToken, driverStateBuilder);
325
(var sources, var generatorDiagnostics,
var
generatorRunStateTable, var hostOutputs) = context.ToImmutableAndFree();
354
private IncrementalExecutionContext UpdateOutputs(ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes, IncrementalGeneratorOutputKind outputKind,
GeneratorRunStateTable
.Builder generatorRunStateBuilder, CancellationToken cancellationToken, DriverStateTable.Builder? driverStateBuilder = null)
SourceGeneration\IncrementalContexts.cs (3)
253
internal readonly
GeneratorRunStateTable
.Builder GeneratorRunStateBuilder;
257
public IncrementalExecutionContext(DriverStateTable.Builder? tableBuilder,
GeneratorRunStateTable
.Builder generatorRunStateBuilder, AdditionalSourcesCollection sources)
266
internal (ImmutableArray<GeneratedSourceText> sources, ImmutableArray<Diagnostic> diagnostics,
GeneratorRunStateTable
executedSteps, ImmutableDictionary<string, object> hostOutputs) ToImmutableAndFree()
SourceGeneration\Nodes\GeneratorRunStateTable.cs (1)
52
public
GeneratorRunStateTable
ToImmutableAndFree()