1 write to Text
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratedSyntaxTree.cs (1)
22this.Text = text;
7 references to Text
Microsoft.CodeAnalysis (7)
SourceGeneration\CompilationCache.cs (1)
108_preCompKeys.Add(new PreCompCacheKey(generatorIndex, tree.HintName, tree.Text, tree.Tree.Options));
SourceGeneration\GeneratorDriver.cs (6)
211sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 215sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 219sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 308? ParseAdditionalSources(sourceGenerator, generatorState.PostInitTrees.SelectAsArray(t => new GeneratedSourceText(t.HintName, t.Text)), cancellationToken) 312? ParseAdditionalSources(sourceGenerator, generatorState.PreCompilationTrees.SelectAsArray(t => new GeneratedSourceText(t.HintName, t.Text)), cancellationToken) 557&& ReferenceEquals(source.Text, previousTrees[j].Text)