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