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, compilationCache: CompilationCache.Empty);
SourceGeneration\GeneratorDriverState.cs (3)
22SyntaxStore syntaxStore, 95internal readonly SyntaxStore SyntaxStore; 121SyntaxStore? syntaxStore = null,
SourceGeneration\Nodes\DriverStateTable.cs (2)
35private SyntaxStore.Builder? _syntaxStore; 64internal SyntaxStore.Builder SyntaxStore
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()