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