1 instantiation of GeneratorRunResult
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
203=> new GeneratorRunResult(generator,
11 references to GeneratorRunResult
Microsoft.CodeAnalysis (7)
SourceGeneration\IncrementalContexts.cs (3)
145/// via <see cref="GeneratorRunResult.HostOutputs"/> and it is up to the host to decide how to use them. 158/// via <see cref="GeneratorRunResult.HostOutputs"/> and it is up to the host to decide how to use them. 407/// here are made available via the <see cref="GeneratorRunResult.HostOutputs"/> collection, and it is up the host to
SourceGeneration\RunResults.cs (4)
23internal GeneratorDriverRunResult(ImmutableArray<GeneratorRunResult> results, TimeSpan elapsedTime) 32public ImmutableArray<GeneratorRunResult> Results { get; } 43/// This is equivalent to the union of all <see cref="GeneratorRunResult.Diagnostics"/> in <see cref="Results"/>. 61/// This is equivalent to the union of all <see cref="GeneratedSourceResult.SyntaxTree"/>s in each <see cref="GeneratorRunResult.GeneratedSources"/> in each <see cref="Results"/>
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler (1)
GeneratorExtensions.cs (1)
35public static ImmutableArray<(string Key, string Value)> GetHostOutputs(this GeneratorRunResult runResult) => runResult.HostOutputs.ToImmutableArray().SelectAsArray(a => (a.Key, a.Value.ToString() ?? ""));
Microsoft.CodeAnalysis.Workspaces (3)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
59foreach (var generatorResult in driverRunResult.Results)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
894foreach (var result in driverRunResult.Results)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
354foreach (var generatorResult in runResult.Results)