1 type derived from SyntaxInputNode
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxInputNode.cs (1)
16internal sealed class SyntaxInputNode<T> : SyntaxInputNode, IIncrementalGeneratorNode<T>
27 references to SyntaxInputNode
Microsoft.CodeAnalysis (27)
SourceGeneration\GeneratorDriver.cs (2)
226var syntaxInputNodes = ArrayBuilder<SyntaxInputNode>.GetInstance(); 244var inputBuilder = ArrayBuilder<SyntaxInputNode>.GetInstance();
SourceGeneration\GeneratorState.cs (4)
22ImmutableArray<SyntaxInputNode>.Empty, 35public GeneratorState(ImmutableArray<GeneratedSyntaxTree> postInitTrees, ImmutableArray<SyntaxInputNode> inputNodes, ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes) 51ImmutableArray<SyntaxInputNode> inputNodes, 111internal ImmutableArray<SyntaxInputNode> InputNodes { get; }
SourceGeneration\IncrementalContexts.cs (2)
27private readonly ArrayBuilder<SyntaxInputNode> _syntaxInputBuilder; 35ArrayBuilder<SyntaxInputNode> syntaxInputBuilder,
SourceGeneration\Nodes\SyntaxInputNode.cs (2)
19private readonly Action<SyntaxInputNode, IIncrementalGeneratorOutputNode> _registerOutput; 23internal SyntaxInputNode(ISyntaxSelectionStrategy<T> inputNode, Action<SyntaxInputNode, IIncrementalGeneratorOutputNode> registerOutput, IEqualityComparer<T>? comparer = null, string? name = null)
SourceGeneration\Nodes\SyntaxValueProvider.cs (3)
19private readonly ArrayBuilder<SyntaxInputNode> _inputNodes; 25ArrayBuilder<SyntaxInputNode> inputNodes, 63private void RegisterOutputAndDeferredInput(SyntaxInputNode node, IIncrementalGeneratorOutputNode output)
SourceGeneration\SyntaxStore.cs (14)
27public Builder ToBuilder(Compilation compilation, ImmutableArray<SyntaxInputNode> syntaxInputNodes, bool enableTracking, CancellationToken cancellationToken) => new Builder(compilation, syntaxInputNodes, enableTracking, this, cancellationToken); 31private readonly ImmutableDictionary<SyntaxInputNode, Exception>.Builder _syntaxExceptions = ImmutableDictionary.CreateBuilder<SyntaxInputNode, Exception>(); 32private readonly ImmutableDictionary<SyntaxInputNode, TimeSpan>.Builder _syntaxTimes = ImmutableDictionary.CreateBuilder<SyntaxInputNode, TimeSpan>(); 35private readonly ImmutableArray<SyntaxInputNode> _syntaxInputNodes; 40internal Builder(Compilation compilation, ImmutableArray<SyntaxInputNode> syntaxInputNodes, bool enableTracking, SyntaxStore previousStore, CancellationToken cancellationToken) 49public IStateTable GetSyntaxInputTable(SyntaxInputNode syntaxInputNode, NodeStateTable<SyntaxTree> syntaxTreeTable) 62var syntaxInputBuilders = ArrayBuilder<(SyntaxInputNode node, ISyntaxInputBuilder builder)>.GetInstance(_syntaxInputNodes.Length); 63foreach (var node in _syntaxInputNodes) 93var currentNode = syntaxInputBuilders[i].node; 127foreach ((var node, ISyntaxInputBuilder builder) in syntaxInputBuilders) 158public TimeSpan GetRuntimeAdjustment(ImmutableArray<SyntaxInputNode> inputNodes) 161foreach (var node in inputNodes)