1 instantiation of GeneratorDriverRunResult
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
185return new GeneratorDriverRunResult(results, _state.RunTime);
95 references to GeneratorDriverRunResult
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (2)
196var r = gd.GetRunResult(); 227var r = gd.GetRunResult();
Microsoft.Analyzers.Local.Tests (2)
Resources\RoslynTestUtils.cs (2)
196var r = gd.GetRunResult(); 227var r = gd.GetRunResult();
Microsoft.AspNetCore.Http.Extensions.Tests (5)
RequestDelegateGenerator\CompileTimeCreationTests.cs (4)
244var generatorRunResult = driver.GetRunResult(); 298var generatorRunResult = driver.GetRunResult(); 345var generatorRunResult = driver.GetRunResult(); 681var generatorRunResult = driver.GetRunResult();
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
76var runResult = driver.GetRunResult();
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
76var runResult = driver.GetRunResult();
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
172public GeneratorDriverRunResult GetRunResult()
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (59)
SourceGeneration\GeneratorDriverFuzzTests.cs (4)
318var result1 = driver1.GetRunResult(); 324var result2 = driver2.GetRunResult(); 537var result1 = driver1.GetRunResult(); 543var result2 = driver2.GetRunResult();
SourceGeneration\GeneratorDriverTests.cs (31)
546var results = driver.GetRunResult(); 559var results = driver.GetRunResult(); 591var results = driver.GetRunResult(); 623var results = driver.GetRunResult(); 676var results = driver.GetRunResult(); 723var results = driver.GetRunResult(); 1068var results = driver.GetRunResult(); 1097var results = driver.GetRunResult(); 1140var results = driver.GetRunResult(); 1452var runResults = driver.GetRunResult(); 1477var runResults = driver.GetRunResult(); 1509var runResults = driver.GetRunResult(); 1549var runResults = driver.GetRunResult(); 1582var runResults = driver.GetRunResult(); 3097var result = driver.GetRunResult(); 3208GeneratorDriverRunResult runResult = driver.GetRunResult(); 3325var result = driver.GetRunResult(); 3364var result = driver.GetRunResult(); 3548var runResult = driver.GetRunResult(); 4313var result = driver.GetRunResult(); 4382var result = driver.GetRunResult(); 4444var results = driver.GetRunResult(); 4467var result = driver.GetRunResult(); 4488var result = driver.GetRunResult(); 4524var runResult = driver.GetRunResult(); 4544var runResult = driver.GetRunResult(); 4559var runResult = driver.GetRunResult(); 4579var runResult = driver.GetRunResult(); 4596var runResult = driver.GetRunResult(); 4614var runResult = driver.GetRunResult(); 4632var runResult = driver.GetRunResult();
SourceGeneration\SyntaxAwareGeneratorTests.cs (24)
383var results = driver.GetRunResult(); 425var results = driver.GetRunResult(); 473var results = driver.GetRunResult(); 515var results = driver.GetRunResult(); 564var results = driver.GetRunResult(); 596var results = driver.GetRunResult(); 636var results = driver.GetRunResult(); 833var results = driver.GetRunResult(); 867var results = driver.GetRunResult(); 913var results = driver.GetRunResult(); 959var results = driver.GetRunResult(); 1026var results = driver.GetRunResult(); 1101var results = driver.GetRunResult(); 1234var results = driver.GetRunResult(); 1321var results = driver.GetRunResult(); 1408var results = driver.GetRunResult(); 1527var results = driver.GetRunResult(); 1698var results = driver.GetRunResult(); 1755var results = driver.GetRunResult(); 1809var results = driver.GetRunResult(); 1863var results = driver.GetRunResult(); 1904var results = driver.GetRunResult(); 1950var results = driver.GetRunResult(); 2057var results = driver.GetRunResult();
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorProjectExtensions.cs (1)
16internal static ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(this Project project, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces (9)
SourceGeneratorTelemetry\ISourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
13void CollectRunResult(GeneratorDriverRunResult driverRunResult, GeneratorDriverTimingInfo driverTimingInfo, Func<ISourceGenerator, AnalyzerReference> getAnalyzerReference);
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
49GeneratorDriverRunResult driverRunResult,
Workspace\Solution\Project.cs (1)
367internal ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(CancellationToken cancellationToken)
Workspace\Solution\SolutionCompilationState.cs (1)
1186public ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (1)
70ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(SolutionCompilationState solution, CancellationToken cancellationToken);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
867var driverRunResult = finalState.GeneratorInfo.Driver?.GetRunResult(); 886public async ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(SolutionCompilationState compilationState, CancellationToken cancellationToken)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
270var runResult = generatorDriver.GetRunResult();
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
236public ValueTask<GeneratorDriverRunResult?> GetSourceGeneratorRunResultAsync(SolutionCompilationState solution, CancellationToken cancellationToken)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
237GeneratorDriverRunResult r = gd.GetRunResult(); 281var r = gd.GetRunResult(); 326GeneratorDriverRunResult r = gd.GetRunResult();
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
237GeneratorDriverRunResult r = gd.GetRunResult(); 281var r = gd.GetRunResult(); 326GeneratorDriverRunResult r = gd.GetRunResult();
Microsoft.Gen.Logging.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
237GeneratorDriverRunResult r = gd.GetRunResult(); 281var r = gd.GetRunResult(); 326GeneratorDriverRunResult r = gd.GetRunResult();
Microsoft.Gen.Metrics.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
237GeneratorDriverRunResult r = gd.GetRunResult(); 281var r = gd.GetRunResult(); 326GeneratorDriverRunResult r = gd.GetRunResult();
Microsoft.Gen.MetricsReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
237GeneratorDriverRunResult r = gd.GetRunResult(); 281var r = gd.GetRunResult(); 326GeneratorDriverRunResult r = gd.GetRunResult();