2 instantiations of SyntaxStore
Microsoft.CodeAnalysis (2)
SourceGeneration\SyntaxStore.cs (2)
19internal static readonly SyntaxStore Empty = new SyntaxStore(StateTableStore.Empty, compilation: null); 174return new SyntaxStore(_tableBuilder.ToImmutable(), _compilation);
10 references to SyntaxStore
Microsoft.CodeAnalysis (10)
SourceGeneration\GeneratorDriver.cs (1)
40_state = new GeneratorDriverState(parseOptions, optionsProvider, generators, incrementalGenerators, additionalTexts, ImmutableArray.Create(new GeneratorState[generators.Length]), DriverStateTable.Empty, SyntaxStore.Empty, driverOptions, runtime: TimeSpan.Zero);
SourceGeneration\GeneratorDriverState.cs (3)
21SyntaxStore syntaxStore, 90internal readonly SyntaxStore SyntaxStore; 111SyntaxStore? syntaxStore = null,
SourceGeneration\Nodes\DriverStateTable.cs (2)
37internal SyntaxStore.Builder SyntaxStore { get; } 39public Builder(Compilation compilation, GeneratorDriverState driverState, SyntaxStore.Builder syntaxStore, CancellationToken cancellationToken = default)
SourceGeneration\SyntaxStore.cs (4)
19internal static readonly SyntaxStore Empty = new SyntaxStore(StateTableStore.Empty, compilation: null); 37private readonly SyntaxStore _previous; 40internal Builder(Compilation compilation, ImmutableArray<SyntaxInputNode> syntaxInputNodes, bool enableTracking, SyntaxStore previousStore, CancellationToken cancellationToken) 172public SyntaxStore ToImmutable()