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)
579
Assert.True(project.
IsDirty
);
622
Assert.True(project.
IsDirty
);
696
Assert.True(project.
IsDirty
);
739
Assert.True(project.
IsDirty
);
825
Assert.True(project.
IsDirty
);
888
Assert.True(project.
IsDirty
);
958
Assert.True(project.
IsDirty
);
1001
Assert.True(project.
IsDirty
);
1070
Assert.True(project.
IsDirty
);
1110
Assert.True(project.
IsDirty
);
1181
Assert.True(project.
IsDirty
);
1188
Assert.True(project.
IsDirty
);
1228
Assert.True(project.
IsDirty
);
1235
Assert.True(project.
IsDirty
);
Construction\WhiteSpacePreservation_Tests.cs (2)
44
Assert.True(p.
IsDirty
);
106
Assert.True(p.
IsDirty
);
Definition\DefinitionEditing_Tests.cs (3)
1575
Assert.True(project.
IsDirty
);
1579
Assert.False(project.
IsDirty
);
2606
Assert.False(project.
IsDirty
, "project should not be dirty after item splitting threw exception");
Definition\Project_Tests.cs (20)
865
project.
IsDirty
.ShouldBeTrue();
935
project.
IsDirty
.ShouldBeTrue();
970
project.
IsDirty
.ShouldBeTrue();
999
project.
IsDirty
.ShouldBeTrue();
1014
project.
IsDirty
.ShouldBeTrue();
1018
project.
IsDirty
.ShouldBeFalse();
1037
project.
IsDirty
.ShouldBeTrue();
1053
project.
IsDirty
.ShouldBeFalse();
1407
project.
IsDirty
.ShouldBeTrue();
1530
project.
IsDirty
.ShouldBeFalse();
1536
project.
IsDirty
.ShouldBeTrue();
1540
project.
IsDirty
.ShouldBeFalse();
1613
project.
IsDirty
.ShouldBeFalse();
1618
project.
IsDirty
.ShouldBeTrue();
1622
project.
IsDirty
.ShouldBeFalse();
1638
project.
IsDirty
.ShouldBeFalse();
1644
project.
IsDirty
.ShouldBeTrue();
1648
project.
IsDirty
.ShouldBeFalse();
2186
project.
IsDirty
.ShouldBeFalse(); // "1" // was evaluated on load
2203
project.
IsDirty
.ShouldBeTrue(); // "2" // Dirty for reevaluation, because the project now has gotten a new file name
Definition\ProjectCollection_Tests.cs (6)
624
Assert.True(project1.
IsDirty
);
643
Assert.True(project1.
IsDirty
);
647
Assert.True(project2.
IsDirty
);
660
Assert.True(project1.
IsDirty
);
661
Assert.True(project2.
IsDirty
);
689
Assert.True(project1.
IsDirty
);
Definition\ProjectItem_Tests.cs (9)
1879
Assert.True(project.
IsDirty
);
1902
Assert.True(project.
IsDirty
);
1937
Assert.False(project.
IsDirty
);
1974
Assert.True(project.
IsDirty
);
2028
Assert.True(project.
IsDirty
);
2222
Assert.False(project.
IsDirty
);
2226
Assert.True(project.
IsDirty
);
2282
Assert.False(project.
IsDirty
);
2286
Assert.True(project.
IsDirty
);
Definition\ProjectMetadata_Tests.cs (4)
58
Assert.False(project.
IsDirty
);
63
Assert.True(project.
IsDirty
);
96
Assert.False(project.
IsDirty
);
100
Assert.False(project.
IsDirty
);
Definition\ProjectProperty_Tests.cs (3)
94
Assert.True(project.
IsDirty
);
111
Assert.True(project.
IsDirty
);
127
Assert.False(project.
IsDirty
);
Definition\ProtectImports_Tests.cs (10)
247
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
261
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
275
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
289
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
367
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
382
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
398
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
412
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
460
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
474
Assert.True(project.
IsDirty
); // "Project was not marked dirty."
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
371
Assert.Equal(real.
IsDirty
, view.
IsDirty
);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (8)
53
Assert.False(realProj.
IsDirty
);
54
Assert.False(viewProj.
IsDirty
);
58
Assert.True(realProj.
IsDirty
);
59
Assert.True(viewProj.
IsDirty
);
63
Assert.True(realProj.
IsDirty
);
64
Assert.True(viewProj.
IsDirty
);
77
Assert.False(realProj.
IsDirty
);
78
Assert.False(viewProj.
IsDirty
);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
32
public bool IsDirty => this.Source.
IsDirty
;