2 instantiations of SyntaxStore
Microsoft.CodeAnalysis (2)
SourceGeneration\SyntaxStore.cs (2)
19
internal static readonly SyntaxStore Empty = new
SyntaxStore
(StateTableStore.Empty, compilation: null);
174
return 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)
21
SyntaxStore
syntaxStore,
90
internal readonly
SyntaxStore
SyntaxStore;
111
SyntaxStore
? syntaxStore = null,
SourceGeneration\Nodes\DriverStateTable.cs (2)
37
internal
SyntaxStore
.Builder SyntaxStore { get; }
39
public Builder(Compilation compilation, GeneratorDriverState driverState,
SyntaxStore
.Builder syntaxStore, CancellationToken cancellationToken = default)
SourceGeneration\SyntaxStore.cs (4)
19
internal static readonly
SyntaxStore
Empty = new SyntaxStore(StateTableStore.Empty, compilation: null);
37
private readonly
SyntaxStore
_previous;
40
internal Builder(Compilation compilation, ImmutableArray<SyntaxInputNode> syntaxInputNodes, bool enableTracking,
SyntaxStore
previousStore, CancellationToken cancellationToken)
172
public
SyntaxStore
ToImmutable()