202 references to Cached
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
510
(EntryState.Cached, EntryState.Cached) => IncrementalStepRunReason.
Cached
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (144)
SourceGeneration\GeneratorDriverTests.cs (44)
1711
source => Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason));
1713
output => Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason));
1789
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1795
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1805
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1811
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1858
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1864
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1873
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1879
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1894
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1900
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1910
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1916
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
1925
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
1931
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2040
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
2076
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2330
("WriteLine", IncrementalStepRunReason.
Cached
),
2332
("Clear", IncrementalStepRunReason.
Cached
),
2333
("Beep", IncrementalStepRunReason.
Cached
)
2351
("WriteLine", IncrementalStepRunReason.
Cached
),
2353
("Clear", IncrementalStepRunReason.
Cached
),
2354
("Beep", IncrementalStepRunReason.
Cached
)
2423
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Outputs[0].Reason);
2428
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Outputs[0].Reason);
2445
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Outputs[0].Reason);
2512
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Outputs[0].Reason);
2532
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Outputs[0].Reason);
2660
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2775
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2781
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2791
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2797
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2807
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2813
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2831
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2837
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2863
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2869
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2950
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2956
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
2967
Assert.Equal(IncrementalStepRunReason.
Cached
, consumedInput.Reason);
2973
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (33)
1440
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1441
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1442
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason);
1443
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1444
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason);
1445
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1446
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1487
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1488
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1490
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1491
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason);
1533
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1534
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1537
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1538
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason);
1579
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1580
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1583
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1584
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason);
1629
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1630
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1633
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1635
t => Assert.Equal(IncrementalStepRunReason.
Cached
, t.Reason));
1681
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1682
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1687
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1688
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1690
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1691
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1744
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1745
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1792
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1793
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (47)
1028
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1029
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason);
1030
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1031
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1068
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1070
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1071
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1110
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1111
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1114
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1117
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1166
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1167
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1168
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1169
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1217
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1218
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1219
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1220
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1274
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1275
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1276
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1282
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1283
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1383
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1384
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1385
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1386
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1392
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1393
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1429
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1526
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1527
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1528
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1529
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1535
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1536
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1578
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1579
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1580
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1581
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1589
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1592
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1640
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1641
s => Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason));
1642
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1643
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
SourceGeneration\StateTableTests.cs (14)
451
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
457
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
463
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
469
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
498
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
504
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
565
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
571
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
682
Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason);
688
Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason);
794
Assert.Equal((1, IncrementalStepRunReason.
Cached
), Assert.Single(step.Outputs));
844
Assert.Collection(step.Outputs, output => Assert.Equal((1, IncrementalStepRunReason.
Cached
), output)),
881
Assert.Equal(IncrementalStepRunReason.
Cached
, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason);
882
Assert.Collection(step.Outputs, output => Assert.Equal(((1, 0), IncrementalStepRunReason.
Cached
), output));
SourceGeneration\SyntaxAwareGeneratorTests.cs (6)
1453
output => Assert.Equal(("fieldA", IncrementalStepRunReason.
Cached
), output)),
1455
output => Assert.Equal(("fieldB", IncrementalStepRunReason.
Cached
), output)),
1457
output => Assert.Equal(("fieldC", IncrementalStepRunReason.
Cached
), output)));
1479
output => Assert.Equal(("fieldA", IncrementalStepRunReason.
Cached
), output)),
1481
output => Assert.Equal(("fieldB", IncrementalStepRunReason.
Cached
), output)),
1483
output => Assert.Equal(("fieldC", IncrementalStepRunReason.
Cached
), output)));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (53)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (33)
915
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
916
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
917
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnit_ForAttribute").Single().Outputs.Single().Reason)
918
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
919
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttributeInternal").Single().Outputs.Single().Reason)
920
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationAndGroupedNodes_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
921
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
962
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
963
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
965
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
966
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttributeInternal").Single().Outputs.Single().Reason)
1008
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1009
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1012
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1013
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttributeInternal").Single().Outputs.Single().Reason)
1054
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1055
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1058
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1059
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttributeInternal").Single().Outputs.Single().Reason)
1104
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1105
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1108
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1110
Sub(t) Assert.Equal(IncrementalStepRunReason.
Cached
, t.Reason))
1156
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1157
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1162
Sub(s) Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1163
Sub(s) Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason))
1165
Sub(s) Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason),
1166
Sub(s) Assert.Equal(IncrementalStepRunReason.
Cached
, s.Outputs.Single().Reason))
1221
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1222
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1271
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1272
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (20)
1095
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1096
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnit_ForAttribute").Single().Outputs.Single().Reason)
1097
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1098
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
1135
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1137
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1138
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
1174
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1217
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1259
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1301
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1339
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1377
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1421
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1425
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1426
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
1464
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1470
Sub(_step) Assert.Equal(IncrementalStepRunReason.
Cached
, _step.Outputs.Single().Reason),
1473
Sub(_step) Assert.Equal(IncrementalStepRunReason.
Cached
, _step.Outputs.Single().Reason),
1517
Assert.Equal(IncrementalStepRunReason.
Cached
, runResult.TrackedSteps("allUpGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SolutionTests\SolutionWithSourceGeneratorTests.cs (4)
225
&& step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason == IncrementalStepRunReason.
Cached
226
&& step.Outputs is [{ Reason: IncrementalStepRunReason.
Cached
}];
243
source => Assert.Equal(IncrementalStepRunReason.
Cached
, source.Source.Outputs[source.OutputIndex].Reason));
245
output => Assert.Equal(IncrementalStepRunReason.
Cached
, output.Reason));