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)
1175var id = idg.AddItemDefinition("SomeType");
Definition\DefinitionEditing_Tests.cs (1)
2044xml.AddItemDefinitionGroup().AddItemDefinition("i").AddMetadata("m", "m0");
Definition\ProjectItemDefinition_Tests.cs (6)
32xml.AddItemDefinitionGroup().AddItemDefinition("i").AddMetadata("m", "m0"); 60xml.AddItemDefinitionGroup().AddItemDefinition("i").AddMetadata("m", "m0"); 79xml.AddItemDefinitionGroup().AddItemDefinition("i"); 99xml.AddItemDefinitionGroup().AddItemDefinition("i").AddMetadata("m", "m0"); 126import.AddItemDefinitionGroup().AddItemDefinition("i").AddMetadata("m", "m0"); 156import.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);