18 references to Properties
Microsoft.Build (5)
BackEnd\Shared\BuildResult.cs (2)
132
/// be used to retrieve <see cref="ProjectInstance.
Properties
"/>, <see cref="ProjectInstance.GlobalProperties"/> and
408
/// be used to retrieve <see cref="ProjectInstance.
Properties
"/>, <see cref="ProjectInstance.GlobalProperties"/> and
Graph\ProjectGraphNode.cs (1)
56
$"{truncatedProjectFile}, #GlobalProps={ProjectInstance.GlobalProperties.Count}, #Props={ProjectInstance.
Properties
.Count}, #Items={ProjectInstance.Items.Count}, #in={ReferencingProjects.Count}, #out={ProjectReferences.Count}";
Instance\ProjectInstance.cs (2)
713
foreach (ProjectPropertyInstance property in that.
Properties
)
2327
/// Replaces the project state (<see cref="GlobalProperties"/>, <see cref="
Properties
"/> and <see cref="Items"/>) with that
Microsoft.Build.Engine.OM.UnitTests (4)
Instance\ProjectInstance_Tests.cs (4)
814
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.
Properties
).EvaluatedValue = "v2"; });
898
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.
Properties
).EvaluatedValue = "v2"; });
923
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.
Properties
).EvaluatedValue = "v2"; });
945
Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.
Properties
).EvaluatedValue = "v2"; });
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildManager_Tests.cs (3)
521
result.ProjectStateAfterBuild.
Properties
.ShouldNotContain(p => p.Name == "UnrequestedProperty");
523
result.ProjectStateAfterBuild.
Properties
.ShouldContain(p => p.Name == "NewProperty");
526
result.ProjectStateAfterBuild.
Properties
.ShouldContain(p => p.Name == "RequestedProperty");
BackEnd\TargetBuilder_Tests.cs (1)
1572
Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.
Properties
));
BackEnd\TargetEntry_Tests.cs (3)
85
Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.
Properties
));
115
Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.
Properties
));
1030
Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.
Properties
));
TestComparers\ProjectInstanceModelTestComparers.cs (2)
27
Assert.Equal(x.
Properties
, y.
Properties
, EqualityComparer<ProjectPropertyInstance>.Default);