1 instantiation of GeneratedSyntaxTree
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
337trees.Add(new GeneratedSyntaxTree(source.HintName, source.Text, tree));
15 references to GeneratedSyntaxTree
Microsoft.CodeAnalysis (15)
SourceGeneration\GeneratorDriver.cs (5)
175foreach (var tree in generatorState.PostInitTrees) 179foreach (var tree in generatorState.GeneratedTrees) 219var postInitSources = ImmutableArray<GeneratedSyntaxTree>.Empty; 329private ImmutableArray<GeneratedSyntaxTree> ParseAdditionalSources(ISourceGenerator generator, ImmutableArray<GeneratedSourceText> generatedSources, CancellationToken cancellationToken) 331var trees = ArrayBuilder<GeneratedSyntaxTree>.GetInstance(generatedSources.Length);
SourceGeneration\GeneratorState.cs (10)
17public static readonly GeneratorState Empty = new GeneratorState(ImmutableArray<GeneratedSyntaxTree>.Empty, 20ImmutableArray<GeneratedSyntaxTree>.Empty, 31public GeneratorState(ImmutableArray<GeneratedSyntaxTree> postInitTrees, ImmutableArray<SyntaxInputNode> inputNodes, ImmutableArray<IIncrementalGeneratorOutputNode> outputNodes) 35ImmutableArray<GeneratedSyntaxTree>.Empty, 46ImmutableArray<GeneratedSyntaxTree> postInitTrees, 49ImmutableArray<GeneratedSyntaxTree> generatedTrees, 70public GeneratorState WithResults(ImmutableArray<GeneratedSyntaxTree> generatedTrees, 94ImmutableArray<GeneratedSyntaxTree>.Empty, 105internal ImmutableArray<GeneratedSyntaxTree> PostInitTrees { get; } 111internal ImmutableArray<GeneratedSyntaxTree> GeneratedTrees { get; }