18 references to Properties
Microsoft.Build (5)
BackEnd\Shared\BuildResult.cs (2)
114/// be used to retrieve <see cref="ProjectInstance.Properties"/>, <see cref="ProjectInstance.GlobalProperties"/> and 386/// 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)
711foreach (ProjectPropertyInstance property in that.Properties) 2182/// 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)
814Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).EvaluatedValue = "v2"; }); 898Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).EvaluatedValue = "v2"; }); 923Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).EvaluatedValue = "v2"; }); 945Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Properties).EvaluatedValue = "v2"; });
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildManager_Tests.cs (3)
522result.ProjectStateAfterBuild.Properties.ShouldNotContain(p => p.Name == "UnrequestedProperty"); 524result.ProjectStateAfterBuild.Properties.ShouldContain(p => p.Name == "NewProperty"); 527result.ProjectStateAfterBuild.Properties.ShouldContain(p => p.Name == "RequestedProperty");
BackEnd\TargetBuilder_Tests.cs (1)
1540Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties));
BackEnd\TargetEntry_Tests.cs (3)
85Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties)); 115Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties)); 1027Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties));
TestComparers\ProjectInstanceModelTestComparers.cs (2)
27Assert.Equal(x.Properties, y.Properties, EqualityComparer<ProjectPropertyInstance>.Default);