1 instantiation of GeneratedSyntaxTree
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
376trees.Add(new GeneratedSyntaxTree(source.HintName, source.Text, tree));
15 references to GeneratedSyntaxTree
Microsoft.CodeAnalysis (15)
SourceGeneration\GeneratorDriver.cs (5)
195foreach (var tree in generatorState.PostInitTrees) 199foreach (var tree in generatorState.GeneratedTrees) 245var postInitSources = ImmutableArray<GeneratedSyntaxTree>.Empty; 369private ImmutableArray<GeneratedSyntaxTree> ParseAdditionalSources(ISourceGenerator generator, ImmutableArray<GeneratedSourceText> generatedSources, CancellationToken cancellationToken) 371var trees = ArrayBuilder<GeneratedSyntaxTree>.GetInstance(generatedSources.Length);
SourceGeneration\GeneratorState.cs (10)
21public static readonly GeneratorState Empty = new GeneratorState(ImmutableArray<GeneratedSyntaxTree>.Empty, 24ImmutableArray<GeneratedSyntaxTree>.Empty, 35public GeneratorState(ImmutableArray<GeneratedSyntaxTree> postInitTrees, ImmutableArray<SyntaxInputNode> inputNodes, ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes) 39ImmutableArray<GeneratedSyntaxTree>.Empty, 50ImmutableArray<GeneratedSyntaxTree> postInitTrees, 53ImmutableArray<GeneratedSyntaxTree> generatedTrees, 74public GeneratorState WithResults(ImmutableArray<GeneratedSyntaxTree> generatedTrees, 98ImmutableArray<GeneratedSyntaxTree>.Empty, 109internal ImmutableArray<GeneratedSyntaxTree> PostInitTrees { get; } 115internal ImmutableArray<GeneratedSyntaxTree> GeneratedTrees { get; }