1 write to Results
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
25
this.
Results
= results;
383 references to Results
Microsoft.Analyzers.Extra.Tests (4)
Resources\RoslynTestUtils.cs (4)
197
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
228
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.Analyzers.Local.Tests (4)
Resources\RoslynTestUtils.cs (4)
197
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
228
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.AspNetCore.Http.Extensions.Tests (5)
RequestDelegateGenerator\CompileTimeCreationTests.cs (4)
247
var result = Assert.IsType<GeneratorRunResult>(Assert.Single(generatorRunResult.
Results
));
301
var result = Assert.IsType<GeneratorRunResult>(Assert.Single(generatorRunResult.
Results
));
348
var result = Assert.IsType<GeneratorRunResult>(Assert.Single(generatorRunResult.
Results
));
684
var result = Assert.IsType<GeneratorRunResult>(Assert.Single(generatorRunResult.
Results
));
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
78
return (Assert.Single(runResult.
Results
), updatedCompilation);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
78
return (Assert.Single(runResult.
Results
), updatedCompilation);
Microsoft.CodeAnalysis (4)
SourceGeneration\RunResults.cs (4)
43
/// This is equivalent to the union of all <see cref="GeneratorRunResult.Diagnostics"/> in <see cref="
Results
"/>.
51
ImmutableInterlocked.InterlockedInitialize(ref _lazyDiagnostics,
Results
.Where(r => !r.Diagnostics.IsDefaultOrEmpty).SelectMany(r => r.Diagnostics).ToImmutableArray());
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
"/>
69
ImmutableInterlocked.InterlockedInitialize(ref _lazyGeneratedTrees,
Results
.Where(r => !r.GeneratedSources.IsDefaultOrEmpty).SelectMany(r => r.GeneratedSources.Select(g => g.SyntaxTree)).ToImmutableArray());
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
831
var runResult = driver.GetRunResult().
Results
[0];
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (233)
SourceGeneration\GeneratorDriverTests.cs (77)
550
Assert.Empty(results.
Results
);
564
var result = Assert.Single(results.
Results
);
594
Assert.Single(results.
Results
);
597
var result = results.
Results
.Single();
626
Assert.Equal(3, results.
Results
.Length);
629
var result1 = results.
Results
[0];
630
var result2 = results.
Results
[1];
631
var result3 = results.
Results
[2];
678
Assert.Equal(2, results.
Results
.Length);
682
var result1 = results.
Results
[0];
683
var result2 = results.
Results
[1];
1070
Assert.Single(results.
Results
);
1073
var result = results.
Results
[0];
1100
Assert.Equal(3, results.
Results
.Length);
1103
var result1 = results.
Results
[0];
1104
var result2 = results.
Results
[1];
1105
var result3 = results.
Results
[2];
1455
Assert.Single(runResults.
Results
);
1457
Assert.Equal(e, runResults.
Results
[0].Exception);
1480
Assert.Single(runResults.
Results
);
1482
Assert.Equal(e, runResults.
Results
[0].Exception);
1512
Assert.Equal("// generated", runResults.
Results
.Single().GeneratedSources.Single().SourceText.ToString());
1525
Assert.Equal(e, runResults.
Results
.Single().Exception);
1552
Assert.Single(runResults.
Results
);
1554
Assert.Equal(e, runResults.
Results
[0].Exception);
1585
Assert.Equal(2, runResults.
Results
.Length);
1587
Assert.Equal(e, runResults.
Results
[0].Exception);
1693
var runResult = driver.GetRunResult().
Results
[0];
1706
runResult = driver.GetRunResult().
Results
[0];
1742
var runResult = driver.GetRunResult().
Results
[0];
1780
runResult = driver.GetRunResult().
Results
[0];
1833
runResult = driver.GetRunResult().
Results
[0];
1885
runResult = driver.GetRunResult().
Results
[0];
2002
var runResult = driver.GetRunResult().
Results
[0];
2031
runResult = driver.GetRunResult().
Results
[0];
2083
runResult = driver.GetRunResult().
Results
[0];
2335
driver.GetRunResult().
Results
.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single()));
2356
driver.GetRunResult().
Results
.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single()));
2401
var runResult = driver.GetRunResult().
Results
[0];
2417
runResult = driver.GetRunResult().
Results
[0];
2434
runResult = driver.GetRunResult().
Results
[0];
2501
GeneratorRunResult runResult = driver.GetRunResult().
Results
[0];
2508
runResult = driver.GetRunResult().
Results
[0];
2521
runResult = driver.GetRunResult().
Results
[0];
2528
runResult = driver.GetRunResult().
Results
[0];
2635
var runResult = driver.GetRunResult().
Results
[0];
2650
runResult = driver.GetRunResult().
Results
[0];
2672
runResult = driver.GetRunResult().
Results
[0];
2713
var runResult = driver.GetRunResult().
Results
[0];
2766
runResult = driver.GetRunResult().
Results
[0];
2822
runResult = driver.GetRunResult().
Results
[0];
2903
var runResult = driver.GetRunResult().
Results
[0];
2941
runResult = driver.GetRunResult().
Results
[0];
2983
runResult = driver.GetRunResult().
Results
[0];
3025
runResult = driver.GetRunResult().
Results
[0];
3099
Assert.Single(result.
Results
);
3100
Assert.Empty(result.
Results
[0].Diagnostics);
3113
Assert.DoesNotContain(result.
Results
[0].HostOutputs, o => o.Key == "Host");
3117
Assert.DoesNotContain(result.
Results
[0].GeneratedSources, isTextForKind);
3124
Assert.Contains(result.
Results
[0].HostOutputs, o => o.Key == "Host");
3128
Assert.Contains(result.
Results
[0].GeneratedSources, isTextForKind);
3161
var runResult = driver.GetRunResult().
Results
[0];
3209
Assert.All(runResult.
Results
,
3211
Assert.Equal(2, runResult.
Results
.Length);
3552
var result = Assert.Single(runResult.
Results
);
4389
Assert.Equal(2, result.
Results
.Length);
4391
Assert.Equal(generator1, result.
Results
[0].Generator);
4392
Assert.Equal(1, result.
Results
[0].GeneratedSources.Length);
4396
Assert.Equal(generator2, result.
Results
[1].Generator);
4397
Assert.True(result.
Results
[1].GeneratedSources.IsDefault);
4525
var result = Assert.Single(runResult.
Results
);
4545
var result = Assert.Single(runResult.
Results
);
4560
var result = Assert.Single(runResult.
Results
);
4580
var result = Assert.Single(runResult.
Results
);
4598
Assert.Collection(runResult.
Results
,
4616
Assert.Collection(runResult.
Results
,
4633
var result = Assert.Single(runResult.
Results
);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (52)
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];
1294
Assert.Equal(expectedGeneratedSources, driver.GetRunResult().
Results
.Single().GeneratedSources.Select(s => (s.HintName, s.SourceText.ToString())));
1426
var runResult = driver.GetRunResult().
Results
[0];
1433
runResult = driver.GetRunResult().
Results
[0];
1473
var runResult = driver.GetRunResult().
Results
[0];
1480
runResult = driver.GetRunResult().
Results
[0];
1520
var runResult = driver.GetRunResult().
Results
[0];
1526
runResult = driver.GetRunResult().
Results
[0];
1563
var runResult = driver.GetRunResult().
Results
[0];
1572
runResult = driver.GetRunResult().
Results
[0];
1611
var runResult = driver.GetRunResult().
Results
[0];
1620
runResult = driver.GetRunResult().
Results
[0];
1664
var runResult = driver.GetRunResult().
Results
[0];
1673
runResult = driver.GetRunResult().
Results
[0];
1723
var runResult = driver.GetRunResult().
Results
[0];
1737
runResult = driver.GetRunResult().
Results
[0];
1775
var runResult = driver.GetRunResult().
Results
[0];
1785
runResult = driver.GetRunResult().
Results
[0];
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (59)
51
var runResult = driver.GetRunResult().
Results
[0];
83
var runResult = driver.GetRunResult().
Results
[0];
109
var runResult = driver.GetRunResult().
Results
[0];
134
var runResult = driver.GetRunResult().
Results
[0];
159
var runResult = driver.GetRunResult().
Results
[0];
187
var runResult = driver.GetRunResult().
Results
[0];
219
var runResult = driver.GetRunResult().
Results
[0];
251
var runResult = driver.GetRunResult().
Results
[0];
285
var runResult = driver.GetRunResult().
Results
[0];
318
var runResult = driver.GetRunResult().
Results
[0];
344
var runResult = driver.GetRunResult().
Results
[0];
370
var runResult = driver.GetRunResult().
Results
[0];
396
var runResult = driver.GetRunResult().
Results
[0];
429
var runResult = driver.GetRunResult().
Results
[0];
457
var runResult = driver.GetRunResult().
Results
[0];
485
var runResult = driver.GetRunResult().
Results
[0];
512
var runResult = driver.GetRunResult().
Results
[0];
543
var runResult = driver.GetRunResult().
Results
[0];
576
var runResult = driver.GetRunResult().
Results
[0];
608
var runResult = driver.GetRunResult().
Results
[0];
640
var runResult = driver.GetRunResult().
Results
[0];
668
var runResult = driver.GetRunResult().
Results
[0];
696
var runResult = driver.GetRunResult().
Results
[0];
724
var runResult = driver.GetRunResult().
Results
[0];
751
var runResult = driver.GetRunResult().
Results
[0];
778
var runResult = driver.GetRunResult().
Results
[0];
807
var runResult = driver.GetRunResult().
Results
[0];
838
var runResult = driver.GetRunResult().
Results
[0];
868
var runResult = driver.GetRunResult().
Results
[0];
897
var runResult = driver.GetRunResult().
Results
[0];
925
var runResult = driver.GetRunResult().
Results
[0];
953
var runResult = driver.GetRunResult().
Results
[0];
982
var runResult = driver.GetRunResult().
Results
[0];
1014
var runResult = driver.GetRunResult().
Results
[0];
1021
runResult = driver.GetRunResult().
Results
[0];
1054
var runResult = driver.GetRunResult().
Results
[0];
1061
runResult = driver.GetRunResult().
Results
[0];
1100
var runResult = driver.GetRunResult().
Results
[0];
1107
runResult = driver.GetRunResult().
Results
[0];
1153
var runResult = driver.GetRunResult().
Results
[0];
1163
runResult = driver.GetRunResult().
Results
[0];
1204
var runResult = driver.GetRunResult().
Results
[0];
1214
runResult = driver.GetRunResult().
Results
[0];
1259
var runResult = driver.GetRunResult().
Results
[0];
1270
runResult = driver.GetRunResult().
Results
[0];
1312
var runResult = driver.GetRunResult().
Results
[0];
1319
runResult = driver.GetRunResult().
Results
[0];
1370
var runResult = driver.GetRunResult().
Results
[0];
1377
runResult = driver.GetRunResult().
Results
[0];
1418
var runResult = driver.GetRunResult().
Results
[0];
1426
runResult = driver.GetRunResult().
Results
[0];
1463
var runResult = driver.GetRunResult().
Results
[0];
1471
runResult = driver.GetRunResult().
Results
[0];
1514
var runResult = driver.GetRunResult().
Results
[0];
1523
runResult = driver.GetRunResult().
Results
[0];
1565
var runResult = driver.GetRunResult().
Results
[0];
1575
runResult = driver.GetRunResult().
Results
[0];
1626
var runResult = driver.GetRunResult().
Results
[0];
1637
runResult = driver.GetRunResult().
Results
[0];
SourceGeneration\SyntaxAwareGeneratorTests.cs (45)
387
Assert.Single(results.
Results
);
388
Assert.Single(results.
Results
[0].Diagnostics);
390
Assert.NotNull(results.
Results
[0].Exception);
391
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
429
Assert.Single(results.
Results
);
430
Assert.Single(results.
Results
[0].Diagnostics);
432
Assert.NotNull(results.
Results
[0].Exception);
433
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
519
Assert.Equal(2, results.
Results
.Length);
521
Assert.Single(results.
Results
[0].Diagnostics);
522
Assert.NotNull(results.
Results
[0].Exception);
523
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
525
Assert.Empty(results.
Results
[1].Diagnostics);
1032
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1052
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1109
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1131
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1239
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1268
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1414
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1444
Assert.Collection(results.
Results
[0].TrackedSteps["Syntax"],
1451
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1477
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1528
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1543
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1699
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1706
Assert.Collection(results.
Results
[0].TrackedSteps["Output"],
1758
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1765
Assert.Collection(results.
Results
[0].TrackedSteps["Output"],
1812
Assert.Collection(results.
Results
[0].TrackedSteps["Fields"],
1825
Assert.Collection(results.
Results
[0].TrackedSteps["Output"],
1868
Assert.Single(results.
Results
[0].Diagnostics);
1869
Assert.NotNull(results.
Results
[0].Exception);
1870
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
1909
Assert.Single(results.
Results
[0].Diagnostics);
1910
Assert.NotNull(results.
Results
[0].Exception);
1911
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
1955
Assert.Single(results.
Results
[0].Diagnostics);
1956
Assert.NotNull(results.
Results
[0].Exception);
1957
Assert.Equal("Test Exception", results.
Results
[0].Exception?.Message);
1959
Assert.Single(results.
Results
[1].GeneratedSources);
1960
Assert.Null(results.
Results
[1].Exception);
2059
Assert.Single(results.
Results
);
2060
Assert.IsType<OperationCanceledException>(results.
Results
[0].Exception);
2061
Assert.Equal("Simulated cancellation from external source", results.
Results
[0].Exception!.Message);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (97)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (39)
86
Dim runResult = driver.GetRunResult().
Results
(0)
127
Dim runResult = driver.GetRunResult().
Results
(0)
170
Dim runResult = driver.GetRunResult().
Results
(0)
198
Dim runResult = driver.GetRunResult().
Results
(0)
227
Dim runResult = driver.GetRunResult().
Results
(0)
253
Dim runResult = driver.GetRunResult().
Results
(0)
284
Dim runResult = driver.GetRunResult().
Results
(0)
313
Dim runResult = driver.GetRunResult().
Results
(0)
342
Dim runResult = driver.GetRunResult().
Results
(0)
371
Dim runResult = driver.GetRunResult().
Results
(0)
402
Dim runResult = driver.GetRunResult().
Results
(0)
445
Dim runResult = driver.GetRunResult().
Results
(0)
486
Dim runResult = driver.GetRunResult().
Results
(0)
526
Dim runResult = driver.GetRunResult().
Results
(0)
565
Dim runResult = driver.GetRunResult().
Results
(0)
604
Dim runResult = driver.GetRunResult().
Results
(0)
644
Dim runResult = driver.GetRunResult().
Results
(0)
680
Dim runResult = driver.GetRunResult().
Results
(0)
717
Dim runResult = driver.GetRunResult().
Results
(0)
754
Dim runResult = driver.GetRunResult().
Results
(0)
791
Dim runResult = driver.GetRunResult().
Results
(0)
828
Dim runResult = driver.GetRunResult().
Results
(0)
865
Dim runResult = driver.GetRunResult().
Results
(0)
901
Dim runResult = driver.GetRunResult().
Results
(0)
908
runResult = driver.GetRunResult().
Results
(0)
948
Dim runResult = driver.GetRunResult().
Results
(0)
955
runResult = driver.GetRunResult().
Results
(0)
995
Dim runResult = driver.GetRunResult().
Results
(0)
1001
runResult = driver.GetRunResult().
Results
(0)
1038
Dim runResult = driver.GetRunResult().
Results
(0)
1047
runResult = driver.GetRunResult().
Results
(0)
1087
Dim runResult = driver.GetRunResult().
Results
(0)
1095
runResult = driver.GetRunResult().
Results
(0)
1140
Dim runResult = driver.GetRunResult().
Results
(0)
1148
runResult = driver.GetRunResult().
Results
(0)
1198
Dim runResult = driver.GetRunResult().
Results
(0)
1214
runResult = driver.GetRunResult().
Results
(0)
1252
Dim runResult = driver.GetRunResult().
Results
(0)
1264
runResult = driver.GetRunResult().
Results
(0)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (58)
57
Dim runResult = driver.GetRunResult().
Results
(0)
89
Dim runResult = driver.GetRunResult().
Results
(0)
115
Dim runResult = driver.GetRunResult().
Results
(0)
140
Dim runResult = driver.GetRunResult().
Results
(0)
165
Dim runResult = driver.GetRunResult().
Results
(0)
194
Dim runResult = driver.GetRunResult().
Results
(0)
226
Dim runResult = driver.GetRunResult().
Results
(0)
258
Dim runResult = driver.GetRunResult().
Results
(0)
290
Dim runResult = driver.GetRunResult().
Results
(0)
321
Dim runResult = driver.GetRunResult().
Results
(0)
347
Dim runResult = driver.GetRunResult().
Results
(0)
373
Dim runResult = driver.GetRunResult().
Results
(0)
399
Dim runResult = driver.GetRunResult().
Results
(0)
432
Dim runResult = driver.GetRunResult().
Results
(0)
460
Dim runResult = driver.GetRunResult().
Results
(0)
488
Dim runResult = driver.GetRunResult().
Results
(0)
515
Dim runResult = driver.GetRunResult().
Results
(0)
545
Dim runResult = driver.GetRunResult().
Results
(0)
576
Dim runResult = driver.GetRunResult().
Results
(0)
606
Dim runResult = driver.GetRunResult().
Results
(0)
636
Dim runResult = driver.GetRunResult().
Results
(0)
664
Dim runResult = driver.GetRunResult().
Results
(0)
692
Dim runResult = driver.GetRunResult().
Results
(0)
720
Dim runResult = driver.GetRunResult().
Results
(0)
747
Dim runResult = driver.GetRunResult().
Results
(0)
774
Dim runResult = driver.GetRunResult().
Results
(0)
801
Dim runResult = driver.GetRunResult().
Results
(0)
828
Dim runResult = driver.GetRunResult().
Results
(0)
857
Dim runResult = driver.GetRunResult().
Results
(0)
886
Dim runResult = driver.GetRunResult().
Results
(0)
913
Dim runResult = driver.GetRunResult().
Results
(0)
939
Dim runResult = driver.GetRunResult().
Results
(0)
968
Dim runResult = driver.GetRunResult().
Results
(0)
996
Dim runResult = driver.GetRunResult().
Results
(0)
1022
Dim runResult = driver.GetRunResult().
Results
(0)
1049
Dim runResult = driver.GetRunResult().
Results
(0)
1081
Dim runResult = driver.GetRunResult().
Results
(0)
1088
runResult = driver.GetRunResult().
Results
(0)
1121
Dim runResult = driver.GetRunResult().
Results
(0)
1128
runResult = driver.GetRunResult().
Results
(0)
1162
Dim runResult = driver.GetRunResult().
Results
(0)
1169
runResult = driver.GetRunResult().
Results
(0)
1202
Dim runResult = driver.GetRunResult().
Results
(0)
1213
runResult = driver.GetRunResult().
Results
(0)
1244
Dim runResult = driver.GetRunResult().
Results
(0)
1255
runResult = driver.GetRunResult().
Results
(0)
1290
Dim runResult = driver.GetRunResult().
Results
(0)
1297
runResult = driver.GetRunResult().
Results
(0)
1327
Dim runResult = driver.GetRunResult().
Results
(0)
1335
runResult = driver.GetRunResult().
Results
(0)
1367
Dim runResult = driver.GetRunResult().
Results
(0)
1373
runResult = driver.GetRunResult().
Results
(0)
1408
Dim runResult = driver.GetRunResult().
Results
(0)
1417
runResult = driver.GetRunResult().
Results
(0)
1450
Dim runResult = driver.GetRunResult().
Results
(0)
1460
runResult = driver.GetRunResult().
Results
(0)
1502
Dim runResult = driver.GetRunResult().
Results
(0)
1513
runResult = driver.GetRunResult().
Results
(0)
Microsoft.CodeAnalysis.Workspaces (4)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
58
foreach (var generatorResult in driverRunResult.
Results
)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
875
foreach (var result in driverRunResult.
Results
)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
285
runResult.
Results
.Sum(r => r.GeneratedSources.IsDefaultOrEmpty ? 0 : r.GeneratedSources.Length);
295
foreach (var generatorResult in runResult.
Results
)
Microsoft.Gen.ComplianceReports.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238
return (r.
Results
[0].Diagnostics, r.
Results
[0].GeneratedSources);
282
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
328
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.Gen.ContextualOptions.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238
return (r.
Results
[0].Diagnostics, r.
Results
[0].GeneratedSources);
282
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
328
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.Gen.Logging.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238
return (r.
Results
[0].Diagnostics, r.
Results
[0].GeneratedSources);
282
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
328
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.Gen.Metrics.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238
return (r.
Results
[0].Diagnostics, r.
Results
[0].GeneratedSources);
282
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
328
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
Microsoft.Gen.MetricsReports.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238
return (r.
Results
[0].Diagnostics, r.
Results
[0].GeneratedSources);
282
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);
328
return (Sort(r.
Results
[0].Diagnostics), r.
Results
[0].GeneratedSources);