1 write to Tree
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratedSyntaxTree.cs (1)
24this.Tree = tree;
6 references to Tree
Microsoft.CodeAnalysis (6)
SourceGeneration\GeneratorDriver.cs (5)
76trees.AddRange(generatorState.PostInitTrees.Select(t => t.Tree)); 77trees.AddRange(generatorState.GeneratedTrees.Select(t => t.Tree)); 197sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 201sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 296constantSourcesBuilder.AddRange(generatorState.PostInitTrees.Select(t => t.Tree));
SourceGeneration\GeneratorState.cs (1)
129internal bool RequiresPostInitReparse(ParseOptions parseOptions) => PostInitTrees.Any(static (t, parseOptions) => t.Tree.Options != parseOptions, parseOptions);