1 instantiation of GeneratorRunResult
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
188=> new GeneratorRunResult(generator,
15 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_Generators.cs (1)
352foreach (var generatorResult in runResult.Results)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
894foreach (var result in driverRunResult.Results)
rzc (4)
DiscoverCommand.cs (1)
228var runResult = RazorSourceGeneratorHost.CreateDriver(parseOptions)
GenerateCommand.cs (1)
316var runResult = RazorSourceGeneratorHost.CreateDriver(parseOptions)
RazorSourceGeneratorHostOutput.cs (2)
14/// grant, and <see cref="GeneratorRunResult.HostOutputs"/> is an experimental API; both are isolated to 19public static bool TryGet(GeneratorRunResult result, out RazorGeneratorResult razorResult)