17 references to AddItemDefinitionGroup
Microsoft.Build (2)
Construction\ProjectRootElement.cs (1)
1092
itemDefinitionGroupToAddTo =
AddItemDefinitionGroup
();
Instance\ProjectInstance.cs (1)
2284
ProjectItemDefinitionGroupElement itemDefinitionGroupElement = rootElement.
AddItemDefinitionGroup
();
Microsoft.Build.Engine.OM.UnitTests (15)
Construction\ConstructionEditing_Tests.cs (2)
2026
project.
AddItemDefinitionGroup
();
2048
ProjectItemDefinitionGroupElement itemGroup = project.
AddItemDefinitionGroup
();
Construction\ProjectItemDefinitionElement_Tests.cs (1)
207
ProjectItemDefinitionElement itemDefinition = project.
AddItemDefinitionGroup
().AddItemDefinition("i");
Construction\ProjectItemDefinitionGroupElement_Tests.cs (2)
102
project.
AddItemDefinitionGroup
();
119
project.
AddItemDefinitionGroup
();
Construction\ProjectRootElement_Tests.cs (1)
1178
var idg = pre.
AddItemDefinitionGroup
();
Definition\DefinitionEditing_Tests.cs (1)
2046
xml.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
Definition\ProjectItemDefinition_Tests.cs (6)
33
xml.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
61
xml.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
80
xml.
AddItemDefinitionGroup
().AddItemDefinition("i");
100
xml.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
127
import.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
157
import.
AddItemDefinitionGroup
().AddItemDefinition("i").AddMetadata("m", "m0");
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
90
xmlPair.Add2NewLabeledChildrenWithVerify<ProjectItemDefinitionGroupElement>("ItemDefGroup", (p, l) => p.
AddItemDefinitionGroup
(), out var itemDefinitionGroup1, out var itemDefinitionGroup2);
630
var itemDefGrp = xmlPair.AddNewChaildWithVerify<ProjectItemDefinitionGroupElement>(ObjectType.View, "grp", (p, s) => p.
AddItemDefinitionGroup
(), (pe, s) => true);