4 references to AddItem
Microsoft.Build (3)
Construction\ProjectItemGroupElement.cs (1)
92
return
AddItem
(itemType, include, null);
Construction\ProjectRootElement.cs (1)
1020
ProjectItemElement newItem = itemGroupToAddTo.
AddItem
(itemType, include, metadata);
Evaluation\Evaluator.cs (1)
1948
itemGroup.
AddItem
(item.Key, EscapingUtilities.Escape(item.Value.ItemSpec), escapedMetadata);
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
705
itemGrp.Add2NewChildrenWithVerify<ProjectItemElement>("file.cs", (ig, inc) => ig.
AddItem
("cs", inc, itemMetadata), (i, inc) => i.Include == inc, out var itemWithMetadata1, out var itemWithMetadata2);