10 references to AddItemDefinition
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\ProjectItemDefinitionElement_Tests.cs (1)
207ProjectItemDefinitionElement itemDefinition = project.AddItemDefinitionGroup().AddItemDefinition("i");
Construction\ProjectRootElement_Tests.cs (1)
1179var id = idg.AddItemDefinition("SomeType");
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 (1)
633itemDefGrp.Add2NewChildrenWithVerify<ProjectItemDefinitionElement>("src", (idg, it) => idg.AddItemDefinition(it), (id, n) => id.ItemType == n, out var itemDef1, out var itemDef2);