33 references to Removed
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\NodeStateTable.cs (2)
511
(EntryState.Removed, EntryState.Removed) => IncrementalStepRunReason.
Removed
,
512
(EntryState.Modified, EntryState.Removed) => IncrementalStepRunReason.
Removed
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (24)
SourceGeneration\GeneratorDriverTests.cs (1)
2352
("Write", IncrementalStepRunReason.
Removed
),
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (11)
1122
o => Assert.Equal(IncrementalStepRunReason.
Removed
, o.Reason));
1123
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1124
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1174
o => Assert.Equal(IncrementalStepRunReason.
Removed
, o.Reason));
1175
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1176
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
1325
Assert.Equal(IncrementalStepRunReason.
Removed
, step.Outputs.Single().Reason);
1330
s => Assert.Equal(IncrementalStepRunReason.
Removed
, s.Outputs.Single().Reason));
1337
o => Assert.Equal(IncrementalStepRunReason.
Removed
, o.Reason));
1338
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1339
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
SourceGeneration\StateTableTests.cs (10)
510
Assert.Equal(IncrementalStepRunReason.
Removed
, source.Source.Outputs[source.OutputIndex].Reason);
799
Assert.Equal((2, IncrementalStepRunReason.
Removed
), Assert.Single(step.Outputs));
804
Assert.Equal((3, IncrementalStepRunReason.
Removed
), Assert.Single(step.Outputs));
846
Assert.Collection(step.Outputs, output => Assert.Equal((2, IncrementalStepRunReason.
Removed
), output)),
848
Assert.Collection(step.Outputs, output => Assert.Equal((3, IncrementalStepRunReason.
Removed
), output)),
887
Assert.Equal(IncrementalStepRunReason.
Removed
, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason);
888
Assert.Collection(step.Outputs, output => Assert.Equal(((2, 0), IncrementalStepRunReason.
Removed
), output));
893
Assert.Equal(IncrementalStepRunReason.
Removed
, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason);
894
Assert.Collection(step.Outputs, output => Assert.Equal(((3, 0), IncrementalStepRunReason.
Removed
), output));
992
Assert.Equal(IncrementalStepRunReason.
Removed
, output.Reason);
SourceGeneration\SyntaxAwareGeneratorTests.cs (2)
1139
output => Assert.Equal(("fieldD", IncrementalStepRunReason.
Removed
), output)),
1141
output => Assert.Equal(("fieldE", IncrementalStepRunReason.
Removed
), output)));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (7)
1176
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("compilationUnit_ForAttribute").Single().Outputs.Single().Reason)
1177
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1178
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
1219
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("compilationUnit_ForAttribute").Single().Outputs.Single().Reason)
1220
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1221
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
1305
Assert.Equal(IncrementalStepRunReason.
Removed
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)