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