352 references to GetRunResult
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)
CommandLine\CommonCompiler.cs (1)
846if (!disableCache && driver.GetRunResult().GeneratedTrees.Any())
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
831var runResult = driver.GetRunResult().Results[0];
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (224)
SourceGeneration\GeneratorDriverFuzzTests.cs (4)
318var result1 = driver1.GetRunResult(); 324var result2 = driver2.GetRunResult(); 537var result1 = driver1.GetRunResult(); 543var result2 = driver2.GetRunResult();
SourceGeneration\GeneratorDriverTests.cs (75)
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(); 1521runResults = driver.GetRunResult(); 1549var runResults = driver.GetRunResult(); 1582var runResults = driver.GetRunResult(); 1693var runResult = driver.GetRunResult().Results[0]; 1706runResult = driver.GetRunResult().Results[0]; 1742var runResult = driver.GetRunResult().Results[0]; 1780runResult = driver.GetRunResult().Results[0]; 1833runResult = driver.GetRunResult().Results[0]; 1885runResult = driver.GetRunResult().Results[0]; 2002var runResult = driver.GetRunResult().Results[0]; 2031runResult = driver.GetRunResult().Results[0]; 2083runResult = driver.GetRunResult().Results[0]; 2162var generatedTree = driver.GetRunResult().GeneratedTrees.Single(); 2220var trees = driver.GetRunResult().GeneratedTrees; 2335driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2356driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2363var trees = driver.GetRunResult().GeneratedTrees; 2401var runResult = driver.GetRunResult().Results[0]; 2417runResult = driver.GetRunResult().Results[0]; 2434runResult = driver.GetRunResult().Results[0]; 2501GeneratorRunResult runResult = driver.GetRunResult().Results[0]; 2508runResult = driver.GetRunResult().Results[0]; 2521runResult = driver.GetRunResult().Results[0]; 2528runResult = driver.GetRunResult().Results[0]; 2571Assert.True(driver.GetRunResult().Diagnostics.IsEmpty); 2581Assert.True(driver.GetRunResult().Diagnostics.IsEmpty); 2635var runResult = driver.GetRunResult().Results[0]; 2650runResult = driver.GetRunResult().Results[0]; 2672runResult = driver.GetRunResult().Results[0]; 2713var runResult = driver.GetRunResult().Results[0]; 2766runResult = driver.GetRunResult().Results[0]; 2822runResult = driver.GetRunResult().Results[0]; 2903var runResult = driver.GetRunResult().Results[0]; 2941runResult = driver.GetRunResult().Results[0]; 2983runResult = driver.GetRunResult().Results[0]; 3025runResult = driver.GetRunResult().Results[0]; 3097var result = driver.GetRunResult(); 3161var runResult = driver.GetRunResult().Results[0]; 3208GeneratorDriverRunResult runResult = driver.GetRunResult(); 3295driver.GetRunResult(); 3325var result = driver.GetRunResult(); 3364var result = driver.GetRunResult(); 3373result = driver.GetRunResult(); 3548var runResult = driver.GetRunResult(); 4313var result = driver.GetRunResult(); 4322result = driver.GetRunResult(); 4332result = driver.GetRunResult(); 4341result = driver.GetRunResult(); 4382var result = driver.GetRunResult(); 4444var results = driver.GetRunResult(); 4450results = driver.GetRunResult(); 4467var result = driver.GetRunResult(); 4472result = driver.GetRunResult(); 4488var result = driver.GetRunResult(); 4496result = driver.GetRunResult(); 4505result = 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\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (52)
80var runResult = driver.GetRunResult().Results[0]; 122var runResult = driver.GetRunResult().Results[0]; 159var runResult = driver.GetRunResult().Results[0]; 189var runResult = driver.GetRunResult().Results[0]; 219var runResult = driver.GetRunResult().Results[0]; 246var runResult = driver.GetRunResult().Results[0]; 273var runResult = driver.GetRunResult().Results[0]; 301var runResult = driver.GetRunResult().Results[0]; 332var runResult = driver.GetRunResult().Results[0]; 368var runResult = driver.GetRunResult().Results[0]; 407var runResult = driver.GetRunResult().Results[0]; 436var runResult = driver.GetRunResult().Results[0]; 469var runResult = driver.GetRunResult().Results[0]; 502var runResult = driver.GetRunResult().Results[0]; 534var runResult = driver.GetRunResult().Results[0]; 566var runResult = driver.GetRunResult().Results[0]; 597var runResult = driver.GetRunResult().Results[0]; 628var runResult = driver.GetRunResult().Results[0]; 661var runResult = driver.GetRunResult().Results[0]; 692var runResult = driver.GetRunResult().Results[0]; 721var runResult = driver.GetRunResult().Results[0]; 755var runResult = driver.GetRunResult().Results[0]; 784var runResult = driver.GetRunResult().Results[0]; 821var runResult = driver.GetRunResult().Results[0]; 858var runResult = driver.GetRunResult().Results[0]; 895var runResult = driver.GetRunResult().Results[0]; 932var runResult = driver.GetRunResult().Results[0]; 969var runResult = driver.GetRunResult().Results[0]; 1005var runResult = driver.GetRunResult().Results[0]; 1040var runResult = driver.GetRunResult().Results[0]; 1077var runResult = driver.GetRunResult().Results[0]; 1115var runResult = driver.GetRunResult().Results[0]; 1153var runResult = driver.GetRunResult().Results[0]; 1191var runResult = driver.GetRunResult().Results[0]; 1229var runResult = driver.GetRunResult().Results[0]; 1294Assert.Equal(expectedGeneratedSources, driver.GetRunResult().Results.Single().GeneratedSources.Select(s => (s.HintName, s.SourceText.ToString()))); 1426var runResult = driver.GetRunResult().Results[0]; 1433runResult = driver.GetRunResult().Results[0]; 1473var runResult = driver.GetRunResult().Results[0]; 1480runResult = driver.GetRunResult().Results[0]; 1520var runResult = driver.GetRunResult().Results[0]; 1526runResult = driver.GetRunResult().Results[0]; 1563var runResult = driver.GetRunResult().Results[0]; 1572runResult = driver.GetRunResult().Results[0]; 1611var runResult = driver.GetRunResult().Results[0]; 1620runResult = driver.GetRunResult().Results[0]; 1664var runResult = driver.GetRunResult().Results[0]; 1673runResult = driver.GetRunResult().Results[0]; 1723var runResult = driver.GetRunResult().Results[0]; 1737runResult = driver.GetRunResult().Results[0]; 1775var runResult = driver.GetRunResult().Results[0]; 1785runResult = driver.GetRunResult().Results[0];
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (59)
51var runResult = driver.GetRunResult().Results[0]; 83var runResult = driver.GetRunResult().Results[0]; 109var runResult = driver.GetRunResult().Results[0]; 134var runResult = driver.GetRunResult().Results[0]; 159var runResult = driver.GetRunResult().Results[0]; 187var runResult = driver.GetRunResult().Results[0]; 219var runResult = driver.GetRunResult().Results[0]; 251var runResult = driver.GetRunResult().Results[0]; 285var runResult = driver.GetRunResult().Results[0]; 318var runResult = driver.GetRunResult().Results[0]; 344var runResult = driver.GetRunResult().Results[0]; 370var runResult = driver.GetRunResult().Results[0]; 396var runResult = driver.GetRunResult().Results[0]; 429var runResult = driver.GetRunResult().Results[0]; 457var runResult = driver.GetRunResult().Results[0]; 485var runResult = driver.GetRunResult().Results[0]; 512var runResult = driver.GetRunResult().Results[0]; 543var runResult = driver.GetRunResult().Results[0]; 576var runResult = driver.GetRunResult().Results[0]; 608var runResult = driver.GetRunResult().Results[0]; 640var runResult = driver.GetRunResult().Results[0]; 668var runResult = driver.GetRunResult().Results[0]; 696var runResult = driver.GetRunResult().Results[0]; 724var runResult = driver.GetRunResult().Results[0]; 751var runResult = driver.GetRunResult().Results[0]; 778var runResult = driver.GetRunResult().Results[0]; 807var runResult = driver.GetRunResult().Results[0]; 838var runResult = driver.GetRunResult().Results[0]; 868var runResult = driver.GetRunResult().Results[0]; 897var runResult = driver.GetRunResult().Results[0]; 925var runResult = driver.GetRunResult().Results[0]; 953var runResult = driver.GetRunResult().Results[0]; 982var runResult = driver.GetRunResult().Results[0]; 1014var runResult = driver.GetRunResult().Results[0]; 1021runResult = driver.GetRunResult().Results[0]; 1054var runResult = driver.GetRunResult().Results[0]; 1061runResult = driver.GetRunResult().Results[0]; 1100var runResult = driver.GetRunResult().Results[0]; 1107runResult = driver.GetRunResult().Results[0]; 1153var runResult = driver.GetRunResult().Results[0]; 1163runResult = driver.GetRunResult().Results[0]; 1204var runResult = driver.GetRunResult().Results[0]; 1214runResult = driver.GetRunResult().Results[0]; 1259var runResult = driver.GetRunResult().Results[0]; 1270runResult = driver.GetRunResult().Results[0]; 1312var runResult = driver.GetRunResult().Results[0]; 1319runResult = driver.GetRunResult().Results[0]; 1370var runResult = driver.GetRunResult().Results[0]; 1377runResult = driver.GetRunResult().Results[0]; 1418var runResult = driver.GetRunResult().Results[0]; 1426runResult = driver.GetRunResult().Results[0]; 1463var runResult = driver.GetRunResult().Results[0]; 1471runResult = driver.GetRunResult().Results[0]; 1514var runResult = driver.GetRunResult().Results[0]; 1523runResult = driver.GetRunResult().Results[0]; 1565var runResult = driver.GetRunResult().Results[0]; 1575runResult = driver.GetRunResult().Results[0]; 1626var runResult = driver.GetRunResult().Results[0]; 1637runResult = driver.GetRunResult().Results[0];
SourceGeneration\SyntaxAwareGeneratorTests.cs (34)
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(); 970results = driver.GetRunResult(); 981results = driver.GetRunResult(); 1026var results = driver.GetRunResult(); 1044results = driver.GetRunResult(); 1101var results = driver.GetRunResult(); 1125results = driver.GetRunResult(); 1234var results = driver.GetRunResult(); 1260results = driver.GetRunResult(); 1321var results = driver.GetRunResult(); 1331results = driver.GetRunResult(); 1344results = driver.GetRunResult(); 1408var results = driver.GetRunResult(); 1438results = driver.GetRunResult(); 1471results = driver.GetRunResult(); 1527var results = driver.GetRunResult(); 1542results = 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.VisualBasic.Semantic.UnitTests (98)
SourceGeneration\GeneratorDriverTests.vb (1)
167Dim results = driver.GetRunResult()
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (39)
86Dim runResult = driver.GetRunResult().Results(0) 127Dim runResult = driver.GetRunResult().Results(0) 170Dim runResult = driver.GetRunResult().Results(0) 198Dim runResult = driver.GetRunResult().Results(0) 227Dim runResult = driver.GetRunResult().Results(0) 253Dim runResult = driver.GetRunResult().Results(0) 284Dim runResult = driver.GetRunResult().Results(0) 313Dim runResult = driver.GetRunResult().Results(0) 342Dim runResult = driver.GetRunResult().Results(0) 371Dim runResult = driver.GetRunResult().Results(0) 402Dim runResult = driver.GetRunResult().Results(0) 445Dim runResult = driver.GetRunResult().Results(0) 486Dim runResult = driver.GetRunResult().Results(0) 526Dim runResult = driver.GetRunResult().Results(0) 565Dim runResult = driver.GetRunResult().Results(0) 604Dim runResult = driver.GetRunResult().Results(0) 644Dim runResult = driver.GetRunResult().Results(0) 680Dim runResult = driver.GetRunResult().Results(0) 717Dim runResult = driver.GetRunResult().Results(0) 754Dim runResult = driver.GetRunResult().Results(0) 791Dim runResult = driver.GetRunResult().Results(0) 828Dim runResult = driver.GetRunResult().Results(0) 865Dim runResult = driver.GetRunResult().Results(0) 901Dim runResult = driver.GetRunResult().Results(0) 908runResult = driver.GetRunResult().Results(0) 948Dim runResult = driver.GetRunResult().Results(0) 955runResult = driver.GetRunResult().Results(0) 995Dim runResult = driver.GetRunResult().Results(0) 1001runResult = driver.GetRunResult().Results(0) 1038Dim runResult = driver.GetRunResult().Results(0) 1047runResult = driver.GetRunResult().Results(0) 1087Dim runResult = driver.GetRunResult().Results(0) 1095runResult = driver.GetRunResult().Results(0) 1140Dim runResult = driver.GetRunResult().Results(0) 1148runResult = driver.GetRunResult().Results(0) 1198Dim runResult = driver.GetRunResult().Results(0) 1214runResult = driver.GetRunResult().Results(0) 1252Dim runResult = driver.GetRunResult().Results(0) 1264runResult = driver.GetRunResult().Results(0)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (58)
57Dim runResult = driver.GetRunResult().Results(0) 89Dim runResult = driver.GetRunResult().Results(0) 115Dim runResult = driver.GetRunResult().Results(0) 140Dim runResult = driver.GetRunResult().Results(0) 165Dim runResult = driver.GetRunResult().Results(0) 194Dim runResult = driver.GetRunResult().Results(0) 226Dim runResult = driver.GetRunResult().Results(0) 258Dim runResult = driver.GetRunResult().Results(0) 290Dim runResult = driver.GetRunResult().Results(0) 321Dim runResult = driver.GetRunResult().Results(0) 347Dim runResult = driver.GetRunResult().Results(0) 373Dim runResult = driver.GetRunResult().Results(0) 399Dim runResult = driver.GetRunResult().Results(0) 432Dim runResult = driver.GetRunResult().Results(0) 460Dim runResult = driver.GetRunResult().Results(0) 488Dim runResult = driver.GetRunResult().Results(0) 515Dim runResult = driver.GetRunResult().Results(0) 545Dim runResult = driver.GetRunResult().Results(0) 576Dim runResult = driver.GetRunResult().Results(0) 606Dim runResult = driver.GetRunResult().Results(0) 636Dim runResult = driver.GetRunResult().Results(0) 664Dim runResult = driver.GetRunResult().Results(0) 692Dim runResult = driver.GetRunResult().Results(0) 720Dim runResult = driver.GetRunResult().Results(0) 747Dim runResult = driver.GetRunResult().Results(0) 774Dim runResult = driver.GetRunResult().Results(0) 801Dim runResult = driver.GetRunResult().Results(0) 828Dim runResult = driver.GetRunResult().Results(0) 857Dim runResult = driver.GetRunResult().Results(0) 886Dim runResult = driver.GetRunResult().Results(0) 913Dim runResult = driver.GetRunResult().Results(0) 939Dim runResult = driver.GetRunResult().Results(0) 968Dim runResult = driver.GetRunResult().Results(0) 996Dim runResult = driver.GetRunResult().Results(0) 1022Dim runResult = driver.GetRunResult().Results(0) 1049Dim runResult = driver.GetRunResult().Results(0) 1081Dim runResult = driver.GetRunResult().Results(0) 1088runResult = driver.GetRunResult().Results(0) 1121Dim runResult = driver.GetRunResult().Results(0) 1128runResult = driver.GetRunResult().Results(0) 1162Dim runResult = driver.GetRunResult().Results(0) 1169runResult = driver.GetRunResult().Results(0) 1202Dim runResult = driver.GetRunResult().Results(0) 1213runResult = driver.GetRunResult().Results(0) 1244Dim runResult = driver.GetRunResult().Results(0) 1255runResult = driver.GetRunResult().Results(0) 1290Dim runResult = driver.GetRunResult().Results(0) 1297runResult = driver.GetRunResult().Results(0) 1327Dim runResult = driver.GetRunResult().Results(0) 1335runResult = driver.GetRunResult().Results(0) 1367Dim runResult = driver.GetRunResult().Results(0) 1373runResult = driver.GetRunResult().Results(0) 1408Dim runResult = driver.GetRunResult().Results(0) 1417runResult = driver.GetRunResult().Results(0) 1450Dim runResult = driver.GetRunResult().Results(0) 1460runResult = driver.GetRunResult().Results(0) 1502Dim runResult = driver.GetRunResult().Results(0) 1513runResult = driver.GetRunResult().Results(0)
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
867var driverRunResult = finalState.GeneratorInfo.Driver?.GetRunResult(); 894return finalState.GeneratorInfo.Driver?.GetRunResult();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
270var runResult = generatorDriver.GetRunResult();
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();