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