3 implementations of IIncrementalGeneratorOutputNode
Microsoft.CodeAnalysis (3)
SourceGeneration\Nodes\HostOutputNode.cs (1)
19internal sealed class HostOutputNode<TInput> : IIncrementalGeneratorOutputNode, IIncrementalGeneratorNode<OutputType>
SourceGeneration\Nodes\PostInitOutputNode.cs (1)
10internal sealed class PostInitOutputNode : IIncrementalGeneratorOutputNode
SourceGeneration\Nodes\SourceOutputNode.cs (1)
16internal sealed class SourceOutputNode<TInput> : IIncrementalGeneratorOutputNode, IIncrementalGeneratorNode<TOutput>
28 references to IIncrementalGeneratorOutputNode
Microsoft.CodeAnalysis (28)
SourceGeneration\GeneratorDriver.cs (3)
243var outputBuilder = ArrayBuilder<IIncrementalGeneratorOutputNode>.GetInstance(); 354private IncrementalExecutionContext UpdateOutputs(ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes, IncrementalGeneratorOutputKind outputKind, GeneratorRunStateTable.Builder generatorRunStateBuilder, CancellationToken cancellationToken, DriverStateTable.Builder? driverStateBuilder = null) 358foreach (var outputNode in outputNodes)
SourceGeneration\GeneratorState.cs (4)
23ImmutableArray<IIncrementalGeneratorOutputNode>.Empty, 35public GeneratorState(ImmutableArray<GeneratedSyntaxTree> postInitTrees, ImmutableArray<SyntaxInputNode> inputNodes, ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes) 52ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes, 113internal ImmutableArray<IIncrementalGeneratorOutputNode> OutputNodes { get; }
SourceGeneration\IncrementalContexts.cs (3)
28private readonly ArrayBuilder<IIncrementalGeneratorOutputNode> _outputNodes; 36ArrayBuilder<IIncrementalGeneratorOutputNode> outputNodes, 84private void RegisterOutput(IIncrementalGeneratorOutputNode outputNode)
SourceGeneration\Nodes\BatchNode.cs (1)
150public void RegisterOutput(IIncrementalGeneratorOutputNode output) => _sourceNode.RegisterOutput(output);
SourceGeneration\Nodes\CombineNode.cs (1)
107public void RegisterOutput(IIncrementalGeneratorOutputNode output)
SourceGeneration\Nodes\HostOutputNode.cs (1)
102void IIncrementalGeneratorNode<OutputType>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\IIncrementalGeneratorNode.cs (1)
22void RegisterOutput(IIncrementalGeneratorOutputNode output);
SourceGeneration\Nodes\InputNode.cs (4)
25private readonly Action<IIncrementalGeneratorOutputNode> _registerOutput; 35private InputNode(Func<DriverStateTable.Builder, ImmutableArray<T>> getInput, Action<IIncrementalGeneratorOutputNode>? registerOutput, IEqualityComparer<T>? inputComparer = null, IEqualityComparer<T>? comparer = null, string? name = null) 118public InputNode<T> WithRegisterOutput(Action<IIncrementalGeneratorOutputNode> registerOutput) => new InputNode<T>(_getInput, registerOutput, _inputComparer, _comparer, _name); 120public void RegisterOutput(IIncrementalGeneratorOutputNode output) => _registerOutput(output);
SourceGeneration\Nodes\SourceOutputNode.cs (1)
96void IIncrementalGeneratorNode<TOutput>.RegisterOutput(IIncrementalGeneratorOutputNode output) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\SyntaxInputNode.cs (3)
19private readonly Action<SyntaxInputNode, IIncrementalGeneratorOutputNode> _registerOutput; 23internal SyntaxInputNode(ISyntaxSelectionStrategy<T> inputNode, Action<SyntaxInputNode, IIncrementalGeneratorOutputNode> registerOutput, IEqualityComparer<T>? comparer = null, string? name = null) 40public void RegisterOutput(IIncrementalGeneratorOutputNode output) => _registerOutput(this, output);
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (2)
17private readonly Action<IIncrementalGeneratorOutputNode> _registerOutput; 22Action<IIncrementalGeneratorOutputNode> registerOutput,
SourceGeneration\Nodes\SyntaxValueProvider.cs (3)
20private readonly Action<IIncrementalGeneratorOutputNode> _registerOutput; 26Action<IIncrementalGeneratorOutputNode> registerOutput, 63private void RegisterOutputAndDeferredInput(SyntaxInputNode node, IIncrementalGeneratorOutputNode output)
SourceGeneration\Nodes\TransformNode.cs (1)
104public void RegisterOutput(IIncrementalGeneratorOutputNode output) => _sourceNode.RegisterOutput(output);