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