1 instantiation of GeneratorRunResult
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
162
=> new
GeneratorRunResult
(generator,
120 references to GeneratorRunResult
Microsoft.CodeAnalysis (4)
SourceGeneration\RunResults.cs (4)
22
internal GeneratorDriverRunResult(ImmutableArray<
GeneratorRunResult
> results, TimeSpan elapsedTime)
31
public ImmutableArray<
GeneratorRunResult
> Results { get; }
42
/// This is equivalent to the union of all <see cref="
GeneratorRunResult
.Diagnostics"/> in <see cref="Results"/>.
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"/>
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (109)
SourceGeneration\GeneratorDriverTests.cs (20)
589
var
result = results.Results.Single();
621
var
result1 = results.Results[0];
622
var
result2 = results.Results[1];
623
var
result3 = results.Results[2];
674
var
result1 = results.Results[0];
675
var
result2 = results.Results[1];
1073
var
result = results.Results[0];
1103
var
result1 = results.Results[0];
1104
var
result2 = results.Results[1];
1105
var
result3 = results.Results[2];
1639
var
runResult = driver.GetRunResult().Results[0];
1688
var
runResult = driver.GetRunResult().Results[0];
1948
var
runResult = driver.GetRunResult().Results[0];
2115
var
runResult = driver.GetRunResult().Results[0];
2211
GeneratorRunResult
runResult = driver.GetRunResult().Results[0];
2341
var
runResult = driver.GetRunResult().Results[0];
2419
var
runResult = driver.GetRunResult().Results[0];
2609
var
runResult = driver.GetRunResult().Results[0];
2841
var
runResult = driver.GetRunResult().Results[0];
3228
var
result = Assert.Single(runResult.Results);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (43)
80
var
runResult = driver.GetRunResult().Results[0];
122
var
runResult = driver.GetRunResult().Results[0];
159
var
runResult = driver.GetRunResult().Results[0];
189
var
runResult = driver.GetRunResult().Results[0];
219
var
runResult = driver.GetRunResult().Results[0];
246
var
runResult = driver.GetRunResult().Results[0];
273
var
runResult = driver.GetRunResult().Results[0];
301
var
runResult = driver.GetRunResult().Results[0];
332
var
runResult = driver.GetRunResult().Results[0];
368
var
runResult = driver.GetRunResult().Results[0];
407
var
runResult = driver.GetRunResult().Results[0];
436
var
runResult = driver.GetRunResult().Results[0];
469
var
runResult = driver.GetRunResult().Results[0];
502
var
runResult = driver.GetRunResult().Results[0];
534
var
runResult = driver.GetRunResult().Results[0];
566
var
runResult = driver.GetRunResult().Results[0];
597
var
runResult = driver.GetRunResult().Results[0];
628
var
runResult = driver.GetRunResult().Results[0];
661
var
runResult = driver.GetRunResult().Results[0];
692
var
runResult = driver.GetRunResult().Results[0];
721
var
runResult = driver.GetRunResult().Results[0];
755
var
runResult = driver.GetRunResult().Results[0];
784
var
runResult = driver.GetRunResult().Results[0];
821
var
runResult = driver.GetRunResult().Results[0];
858
var
runResult = driver.GetRunResult().Results[0];
895
var
runResult = driver.GetRunResult().Results[0];
932
var
runResult = driver.GetRunResult().Results[0];
969
var
runResult = driver.GetRunResult().Results[0];
1005
var
runResult = driver.GetRunResult().Results[0];
1040
var
runResult = driver.GetRunResult().Results[0];
1077
var
runResult = driver.GetRunResult().Results[0];
1115
var
runResult = driver.GetRunResult().Results[0];
1153
var
runResult = driver.GetRunResult().Results[0];
1191
var
runResult = driver.GetRunResult().Results[0];
1229
var
runResult = driver.GetRunResult().Results[0];
1266
var
runResult = driver.GetRunResult().Results[0];
1313
var
runResult = driver.GetRunResult().Results[0];
1360
var
runResult = driver.GetRunResult().Results[0];
1403
var
runResult = driver.GetRunResult().Results[0];
1450
var
runResult = driver.GetRunResult().Results[0];
1502
var
runResult = driver.GetRunResult().Results[0];
1560
var
runResult = driver.GetRunResult().Results[0];
1612
var
runResult = driver.GetRunResult().Results[0];
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
53
var
runResult = driver.GetRunResult().Results[0];
85
var
runResult = driver.GetRunResult().Results[0];
111
var
runResult = driver.GetRunResult().Results[0];
136
var
runResult = driver.GetRunResult().Results[0];
161
var
runResult = driver.GetRunResult().Results[0];
189
var
runResult = driver.GetRunResult().Results[0];
221
var
runResult = driver.GetRunResult().Results[0];
253
var
runResult = driver.GetRunResult().Results[0];
287
var
runResult = driver.GetRunResult().Results[0];
320
var
runResult = driver.GetRunResult().Results[0];
346
var
runResult = driver.GetRunResult().Results[0];
372
var
runResult = driver.GetRunResult().Results[0];
398
var
runResult = driver.GetRunResult().Results[0];
431
var
runResult = driver.GetRunResult().Results[0];
459
var
runResult = driver.GetRunResult().Results[0];
487
var
runResult = driver.GetRunResult().Results[0];
514
var
runResult = driver.GetRunResult().Results[0];
545
var
runResult = driver.GetRunResult().Results[0];
578
var
runResult = driver.GetRunResult().Results[0];
610
var
runResult = driver.GetRunResult().Results[0];
642
var
runResult = driver.GetRunResult().Results[0];
670
var
runResult = driver.GetRunResult().Results[0];
698
var
runResult = driver.GetRunResult().Results[0];
726
var
runResult = driver.GetRunResult().Results[0];
753
var
runResult = driver.GetRunResult().Results[0];
780
var
runResult = driver.GetRunResult().Results[0];
809
var
runResult = driver.GetRunResult().Results[0];
840
var
runResult = driver.GetRunResult().Results[0];
870
var
runResult = driver.GetRunResult().Results[0];
899
var
runResult = driver.GetRunResult().Results[0];
927
var
runResult = driver.GetRunResult().Results[0];
955
var
runResult = driver.GetRunResult().Results[0];
984
var
runResult = driver.GetRunResult().Results[0];
1016
var
runResult = driver.GetRunResult().Results[0];
1056
var
runResult = driver.GetRunResult().Results[0];
1100
var
runResult = driver.GetRunResult().Results[0];
1151
var
runResult = driver.GetRunResult().Results[0];
1200
var
runResult = driver.GetRunResult().Results[0];
1253
var
runResult = driver.GetRunResult().Results[0];
1304
var
runResult = driver.GetRunResult().Results[0];
1348
var
runResult = driver.GetRunResult().Results[0];
1395
var
runResult = driver.GetRunResult().Results[0];
1439
var
runResult = driver.GetRunResult().Results[0];
1487
var
runResult = driver.GetRunResult().Results[0];
1535
var
runResult = driver.GetRunResult().Results[0];
1593
var
runResult = driver.GetRunResult().Results[0];
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler (1)
GeneratorExtensions.cs (1)
20
public static ImmutableArray<(string Key, string Value)> GetHostOutputs(this
GeneratorRunResult
runResult) => runResult.HostOutputs;
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.UnitTests (1)
HostOutputsTests.cs (1)
42
var
result = driver.GetRunResult().Results.Single();
Microsoft.CodeAnalysis.Workspaces (4)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
56
foreach (
var
generatorResult in driverRunResult.Results)
Workspace\Solution\SolutionState.CompilationTracker.cs (3)
875
foreach (
var
generatorResult in runResult.Results)
1077
foreach (
var
result in driverRunResult.Results)
1108
private bool IsGeneratorRunResultToIgnore(
GeneratorRunResult
result)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
181
var
runResult = generatorDriver!.GetRunResult().Results[0];