65 references to Modified
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateGenerator\CompileTimeIncrementalityTests.cs (4)
26
step => Assert.Equal(IncrementalStepRunReason.
Modified
, step.Reason)
43
step => Assert.Equal(IncrementalStepRunReason.
Modified
, step.Reason)
60
step => Assert.Equal(IncrementalStepRunReason.
Modified
, step.Reason)
81
step => Assert.Equal(IncrementalStepRunReason.
Modified
, step.Reason)
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
508
(EntryState.Modified, EntryState.Modified) => IncrementalStepRunReason.
Modified
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (46)
SourceGeneration\GeneratorDriverTests.cs (16)
1842
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
1848
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
2045
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
2092
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
2105
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
2331
("Write", IncrementalStepRunReason.
Modified
),
2440
Assert.Equal(IncrementalStepRunReason.
Modified
, step.Outputs[0].Reason);
2682
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
2847
Assert.Equal(IncrementalStepRunReason.
Modified
, consumedInput.Reason);
2853
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
2992
Assert.Equal(IncrementalStepRunReason.
Modified
, consumedInput.Reason);
3009
Assert.Equal(IncrementalStepRunReason.
Modified
, consumedInput.Reason);
3015
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
3034
Assert.Equal(IncrementalStepRunReason.
Modified
, consumedInput.Reason);
3040
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
3051
Assert.Equal(IncrementalStepRunReason.
Modified
, consumedInput.Reason);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (6)
1492
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1539
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1585
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1636
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
1693
s => Assert.Equal(IncrementalStepRunReason.
Modified
, s.Outputs.Single().Reason),
1694
s => Assert.Equal(IncrementalStepRunReason.
Modified
, s.Outputs.Single().Reason));
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (15)
1279
o => Assert.Equal(IncrementalStepRunReason.
Modified
, o.Reason),
1329
s => Assert.Equal(IncrementalStepRunReason.
Modified
, s.Outputs.Single().Reason),
1331
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1332
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1335
o => Assert.Equal(IncrementalStepRunReason.
Modified
, o.Reason),
1336
o => Assert.Equal(IncrementalStepRunReason.
Modified
, o.Reason),
1431
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1432
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1438
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1475
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1476
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1481
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1648
o => Assert.Equal(IncrementalStepRunReason.
Modified
, o.Reason));
1649
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason);
1650
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason);
SourceGeneration\StateTableTests.cs (8)
516
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
577
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
583
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
720
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
726
Assert.Equal(IncrementalStepRunReason.
Modified
, output.Reason);
759
Assert.Equal(IncrementalStepRunReason.
Modified
, source.Source.Outputs[source.OutputIndex].Reason);
988
Assert.Equal(IncrementalStepRunReason.
Modified
, input.Source.Outputs[input.OutputIndex].Reason);
1017
Assert.Equal(IncrementalStepRunReason.
Modified
, input.Source.Outputs[input.OutputIndex].Reason);
SourceGeneration\SyntaxAwareGeneratorTests.cs (1)
1270
output => Assert.Equal(("fieldD", IncrementalStepRunReason.
Modified
), output)),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (6)
967
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationAndGroupedNodes_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
1014
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationAndGroupedNodes_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
1060
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationAndGroupedNodes_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
1111
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationAndGroupedNodes_ForAttributeWithMetadataName").Single().Outputs.Single().Reason)
1168
Sub(s) Assert.Equal(IncrementalStepRunReason.
Modified
, s.Outputs.Single().Reason),
1169
Sub(s) Assert.Equal(IncrementalStepRunReason.
Modified
, s.Outputs.Single().Reason))
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (6)
1304
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1342
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1380
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1519
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationUnit_ForAttribute").Single().Outputs.Single().Reason)
1520
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("compilationUnitAndGlobalAliases_ForAttribute").Single().Outputs.Single().Reason)
1521
Assert.Equal(IncrementalStepRunReason.
Modified
, runResult.TrackedSteps("result_ForAttribute").Single().Outputs.Single().Reason)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
218
&& step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason == IncrementalStepRunReason.
Modified
219
&& step.Outputs is [{ Reason: IncrementalStepRunReason.
Modified
}];