83 references to IsDirty
Microsoft.Build (1)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
32/// Access to remote <see cref="Project.IsDirty"/>.
Microsoft.Build.Engine.OM.UnitTests (82)
Construction\ProjectMetadataElement_Tests.cs (14)
579Assert.True(project.IsDirty); 622Assert.True(project.IsDirty); 696Assert.True(project.IsDirty); 739Assert.True(project.IsDirty); 825Assert.True(project.IsDirty); 888Assert.True(project.IsDirty); 958Assert.True(project.IsDirty); 1001Assert.True(project.IsDirty); 1070Assert.True(project.IsDirty); 1110Assert.True(project.IsDirty); 1181Assert.True(project.IsDirty); 1188Assert.True(project.IsDirty); 1228Assert.True(project.IsDirty); 1235Assert.True(project.IsDirty);
Construction\WhiteSpacePreservation_Tests.cs (2)
45Assert.True(p.IsDirty); 107Assert.True(p.IsDirty);
Definition\DefinitionEditing_Tests.cs (3)
1573Assert.True(project.IsDirty); 1577Assert.False(project.IsDirty); 2604Assert.False(project.IsDirty, "project should not be dirty after item splitting threw exception");
Definition\Project_Tests.cs (20)
865project.IsDirty.ShouldBeTrue(); 935project.IsDirty.ShouldBeTrue(); 970project.IsDirty.ShouldBeTrue(); 999project.IsDirty.ShouldBeTrue(); 1014project.IsDirty.ShouldBeTrue(); 1018project.IsDirty.ShouldBeFalse(); 1037project.IsDirty.ShouldBeTrue(); 1053project.IsDirty.ShouldBeFalse(); 1407project.IsDirty.ShouldBeTrue(); 1530project.IsDirty.ShouldBeFalse(); 1536project.IsDirty.ShouldBeTrue(); 1540project.IsDirty.ShouldBeFalse(); 1613project.IsDirty.ShouldBeFalse(); 1618project.IsDirty.ShouldBeTrue(); 1622project.IsDirty.ShouldBeFalse(); 1638project.IsDirty.ShouldBeFalse(); 1644project.IsDirty.ShouldBeTrue(); 1648project.IsDirty.ShouldBeFalse(); 2186project.IsDirty.ShouldBeFalse(); // "1" // was evaluated on load 2203project.IsDirty.ShouldBeTrue(); // "2" // Dirty for reevaluation, because the project now has gotten a new file name
Definition\ProjectCollection_Tests.cs (6)
625Assert.True(project1.IsDirty); 644Assert.True(project1.IsDirty); 648Assert.True(project2.IsDirty); 661Assert.True(project1.IsDirty); 662Assert.True(project2.IsDirty); 690Assert.True(project1.IsDirty);
Definition\ProjectItem_Tests.cs (9)
1877Assert.True(project.IsDirty); 1900Assert.True(project.IsDirty); 1935Assert.False(project.IsDirty); 1972Assert.True(project.IsDirty); 2026Assert.True(project.IsDirty); 2220Assert.False(project.IsDirty); 2224Assert.True(project.IsDirty); 2280Assert.False(project.IsDirty); 2284Assert.True(project.IsDirty);
Definition\ProjectMetadata_Tests.cs (4)
57Assert.False(project.IsDirty); 62Assert.True(project.IsDirty); 95Assert.False(project.IsDirty); 99Assert.False(project.IsDirty);
Definition\ProjectProperty_Tests.cs (3)
93Assert.True(project.IsDirty); 110Assert.True(project.IsDirty); 126Assert.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;