2 instantiations of GeneratedSourceResult
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (2)
177sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName)); 181sources.Add(new GeneratedSourceResult(tree.Tree, tree.Text, tree.HintName));
9 references to GeneratedSourceResult
Microsoft.CodeAnalysis (7)
SourceGeneration\GeneratorDriver.cs (3)
172static ImmutableArray<GeneratedSourceResult> getGeneratorSources(GeneratorState generatorState) 174ArrayBuilder<GeneratedSourceResult> sources = ArrayBuilder<GeneratedSourceResult>.GetInstance(generatorState.PostInitTrees.Length + generatorState.GeneratedTrees.Length);
SourceGeneration\RunResults.cs (4)
60/// This is equivalent to the union of all <see cref="GeneratedSourceResult.SyntaxTree"/>s in each <see cref="GeneratorRunResult.GeneratedSources"/> in each <see cref="Results"/> 82ImmutableArray<GeneratedSourceResult> generatedSources, 110public ImmutableArray<GeneratedSourceResult> GeneratedSources { get; } 164/// The <see cref="SyntaxTree"/> that was produced from parsing the <see cref="GeneratedSourceResult.SourceText"/>.
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
2814bool isTextForKind(GeneratedSourceResult s) => s.HintName == Enum.GetName(typeof(IncrementalGeneratorOutputKind), kind) + ".cs";
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.CompilationTracker.cs (1)
884foreach (var generatedSource in generatorResult.GeneratedSources)