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