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)
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)
44Assert.True(p.IsDirty); 106Assert.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)
624Assert.True(project1.IsDirty); 643Assert.True(project1.IsDirty); 647Assert.True(project2.IsDirty); 660Assert.True(project1.IsDirty); 661Assert.True(project2.IsDirty); 689Assert.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)
92Assert.True(project.IsDirty); 109Assert.True(project.IsDirty); 125Assert.False(project.IsDirty);
Definition\ProtectImports_Tests.cs (10)
246Assert.True(project.IsDirty); // "Project was not marked dirty." 260Assert.True(project.IsDirty); // "Project was not marked dirty." 274Assert.True(project.IsDirty); // "Project was not marked dirty." 288Assert.True(project.IsDirty); // "Project was not marked dirty." 366Assert.True(project.IsDirty); // "Project was not marked dirty." 381Assert.True(project.IsDirty); // "Project was not marked dirty." 397Assert.True(project.IsDirty); // "Project was not marked dirty." 411Assert.True(project.IsDirty); // "Project was not marked dirty." 459Assert.True(project.IsDirty); // "Project was not marked dirty." 473Assert.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;