11 writes to Label
Microsoft.Build (1)
Construction\ProjectExtensionsElement.cs (1)
172Label = element.Label;
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\ProjectImportGroupElement_Tests.cs (1)
393importGroup.Label = "c";
Construction\ProjectItemDefinitionGroupElement_Tests.cs (1)
123itemDefinitionGroup.Label = "c";
Construction\ProjectItemGroupElement_tests.cs (1)
103itemGroup.Label = "c";
Construction\ProjectPropertyGroupElement_Tests.cs (1)
101propertyGroup.Label = "c";
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
52ct.Label = l; 81ct.Label = l;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
177newTarget1.VerifySetter("newLabel", (t) => t.Label, (t, v) => t.Label = v);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (3)
133clonedPair.VerifySetter("Group2", (g) => g.Label, (g, v) => g.Label = v); 169newCopyFrom.View.Label = "CopyFrom"; 195newDeepCopy.View.Label = "DeepCopyFrom";
29 references to Label
Microsoft.Build (1)
Construction\ProjectExtensionsElement.cs (1)
172Label = element.Label;
Microsoft.Build.Engine.OM.UnitTests (28)
Construction\ProjectImportGroupElement_Tests.cs (2)
305Assert.Equal("second", importGroups[1].Label); 395Assert.Equal("c", importGroup.Label);
Construction\ProjectItemDefinitionGroupElement_Tests.cs (1)
125Assert.Equal("c", itemDefinitionGroup.Label);
Construction\ProjectItemGroupElement_tests.cs (1)
105Assert.Equal("c", itemGroup.Label);
Construction\ProjectPropertyGroupElement_Tests.cs (1)
103Assert.Equal("c", propertyGroup.Label);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (4)
55(c, l) => string.Equals(c.Label, l)); 84(c, l) => string.Equals(c.Label, l)); 405Assert.Equal(realXml.Label, viewXml.Label);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (7)
177newTarget1.VerifySetter("newLabel", (t) => t.Label, (t, v) => t.Label = v); 386when1.VerifySame(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when1.View.Label)); 387when2.VerifySame(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when2.View.Label)); 399when1.VerifySame(choose.QuerySingleChildrenWithValidation<ProjectWhenElement>((ch) => ch.Label == when1.View.Label));
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (12)
105var existingItemGroupList = sourceProject.AllChildren.OfType<ProjectItemGroupElement>().Where((ig) => ig.Label == "Group1").ToList(); 131xmlPair.QueryChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1", 2); 133clonedPair.VerifySetter("Group2", (g) => g.Label, (g, v) => g.Label = v); 136Assert.Equal("Group1", existingItemGroup.Label); 157var existingItemGroupList = sourceProject.AllChildren.OfType<ProjectItemGroupElement>().Where((ig) => ig.Label == "Group1").ToList(); 163var ourGroup1 = xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1"); 168xmlPair.QueryChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1", 2); 170newCopyFrom.VerifySame(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "CopyFrom")); 171ourGroup1.VerifySame(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1")); 186xmlPair.QueryChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1", 2); 196newDeepCopy.VerifySame(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "DeepCopyFrom")); 197ourGroup1.VerifySame(xmlPair.QuerySingleChildrenWithValidation<ProjectItemGroupElement>((ig) => ig.Label == "Group1"));