2 instantiations of StateTableStore
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\StateTableStore.cs (2)
14public static readonly StateTableStore Empty = new StateTableStore(ImmutableSegmentedDictionary<object, IStateTable>.Empty); 59return new StateTableStore(_tableBuilder.ToImmutable());
22 references to StateTableStore
Microsoft.CodeAnalysis (22)
SourceGeneration\Nodes\DriverStateTable.cs (5)
18private readonly StateTableStore _tables; 20internal static DriverStateTable Empty { get; } = new DriverStateTable(StateTableStore.Empty); 22private DriverStateTable(StateTableStore tables) 29private readonly StateTableStore.Builder _stateTableBuilder = new StateTableStore.Builder();
SourceGeneration\Nodes\ISyntaxStrategy.cs (2)
15ISyntaxInputBuilder GetBuilder(StateTableStore tableStore, object key, bool trackIncrementalSteps, string? name, IEqualityComparer<T> comparer); 22void SaveStateAndFree(StateTableStore.Builder tableStoreBuilder);
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (3)
33public ISyntaxInputBuilder GetBuilder(StateTableStore table, object key, bool trackIncrementalSteps, string? name, IEqualityComparer<T>? comparer) => new Builder(this, key, table, trackIncrementalSteps, name, comparer ?? EqualityComparer<T>.Default); 45public Builder(PredicateSyntaxStrategy<T> owner, object key, StateTableStore table, bool trackIncrementalSteps, string? name, IEqualityComparer<T> comparer) 55public void SaveStateAndFree(StateTableStore.Builder tables)
SourceGeneration\Nodes\StateTableStore.cs (2)
14public static readonly StateTableStore Empty = new StateTableStore(ImmutableSegmentedDictionary<object, IStateTable>.Empty); 47public StateTableStore ToImmutable()
SourceGeneration\Nodes\SyntaxInputNode.cs (2)
13internal abstract ISyntaxInputBuilder GetBuilder(StateTableStore table, bool trackIncrementalSteps); 42internal override ISyntaxInputBuilder GetBuilder(StateTableStore table, bool trackIncrementalSteps) => _inputNode.GetBuilder(table, this, trackIncrementalSteps, _name, _comparer);
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (3)
30public ISyntaxInputBuilder GetBuilder(StateTableStore table, object key, bool trackIncrementalSteps, string? name, IEqualityComparer<T>? comparer) => new Builder(this, key, table, trackIncrementalSteps); 40public Builder(SyntaxReceiverStrategy<T> owner, object key, StateTableStore driverStateTable, bool trackIncrementalSteps) 61public void SaveStateAndFree(StateTableStore.Builder tables)
SourceGeneration\SyntaxStore.cs (5)
17private readonly StateTableStore _tables; 19internal static readonly SyntaxStore Empty = new SyntaxStore(StateTableStore.Empty, compilation: null); 21private SyntaxStore(StateTableStore tables, Compilation? compilation) 33private readonly StateTableStore.Builder _tableBuilder = new StateTableStore.Builder();