83 references to IsDirty
Microsoft.Build (1)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
34/// Access to remote <see cref="Project.IsDirty"/>.
Microsoft.Build.Engine.OM.UnitTests (82)
Construction\ProjectMetadataElement_Tests.cs (14)
571Assert.True(project.IsDirty); 613Assert.True(project.IsDirty); 686Assert.True(project.IsDirty); 728Assert.True(project.IsDirty); 812Assert.True(project.IsDirty); 873Assert.True(project.IsDirty); 941Assert.True(project.IsDirty); 982Assert.True(project.IsDirty); 1049Assert.True(project.IsDirty); 1087Assert.True(project.IsDirty); 1156Assert.True(project.IsDirty); 1163Assert.True(project.IsDirty); 1201Assert.True(project.IsDirty); 1208Assert.True(project.IsDirty);
Construction\WhiteSpacePreservation_Tests.cs (2)
44Assert.True(p.IsDirty); 106Assert.True(p.IsDirty);
Definition\DefinitionEditing_Tests.cs (3)
1571Assert.True(project.IsDirty); 1575Assert.False(project.IsDirty); 2601Assert.False(project.IsDirty, "project should not be dirty after item splitting threw exception");
Definition\Project_Tests.cs (20)
855project.IsDirty.ShouldBeTrue(); 925project.IsDirty.ShouldBeTrue(); 960project.IsDirty.ShouldBeTrue(); 989project.IsDirty.ShouldBeTrue(); 1004project.IsDirty.ShouldBeTrue(); 1008project.IsDirty.ShouldBeFalse(); 1027project.IsDirty.ShouldBeTrue(); 1043project.IsDirty.ShouldBeFalse(); 1393project.IsDirty.ShouldBeTrue(); 1514project.IsDirty.ShouldBeFalse(); 1519project.IsDirty.ShouldBeTrue(); 1523project.IsDirty.ShouldBeFalse(); 1597project.IsDirty.ShouldBeFalse(); 1602project.IsDirty.ShouldBeTrue(); 1606project.IsDirty.ShouldBeFalse(); 1622project.IsDirty.ShouldBeFalse(); 1628project.IsDirty.ShouldBeTrue(); 1632project.IsDirty.ShouldBeFalse(); 2162project.IsDirty.ShouldBeFalse(); // "1" // was evaluated on load 2179project.IsDirty.ShouldBeTrue(); // "2" // Dirty for reevaluation, because the project now has gotten a new file name
Definition\ProjectCollection_Tests.cs (6)
620Assert.True(project1.IsDirty); 639Assert.True(project1.IsDirty); 643Assert.True(project2.IsDirty); 656Assert.True(project1.IsDirty); 657Assert.True(project2.IsDirty); 685Assert.True(project1.IsDirty);
Definition\ProjectItem_Tests.cs (9)
1873Assert.True(project.IsDirty); 1896Assert.True(project.IsDirty); 1931Assert.False(project.IsDirty); 1968Assert.True(project.IsDirty); 2022Assert.True(project.IsDirty); 2216Assert.False(project.IsDirty); 2220Assert.True(project.IsDirty); 2276Assert.False(project.IsDirty); 2280Assert.True(project.IsDirty);
Definition\ProjectMetadata_Tests.cs (4)
56Assert.False(project.IsDirty); 61Assert.True(project.IsDirty); 94Assert.False(project.IsDirty); 98Assert.False(project.IsDirty);
Definition\ProjectProperty_Tests.cs (3)
94Assert.True(project.IsDirty); 111Assert.True(project.IsDirty); 127Assert.False(project.IsDirty);
Definition\ProtectImports_Tests.cs (10)
247Assert.True(project.IsDirty); // "Project was not marked dirty." 261Assert.True(project.IsDirty); // "Project was not marked dirty." 275Assert.True(project.IsDirty); // "Project was not marked dirty." 289Assert.True(project.IsDirty); // "Project was not marked dirty." 367Assert.True(project.IsDirty); // "Project was not marked dirty." 382Assert.True(project.IsDirty); // "Project was not marked dirty." 398Assert.True(project.IsDirty); // "Project was not marked dirty." 412Assert.True(project.IsDirty); // "Project was not marked dirty." 460Assert.True(project.IsDirty); // "Project was not marked dirty." 474Assert.True(project.IsDirty); // "Project was not marked dirty."
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
371Assert.Equal(real.IsDirty, view.IsDirty);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (8)
53Assert.False(realProj.IsDirty); 54Assert.False(viewProj.IsDirty); 58Assert.True(realProj.IsDirty); 59Assert.True(viewProj.IsDirty); 63Assert.True(realProj.IsDirty); 64Assert.True(viewProj.IsDirty); 77Assert.False(realProj.IsDirty); 78Assert.False(viewProj.IsDirty);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
32public bool IsDirty => this.Source.IsDirty;