18 references to AddItem
Microsoft.Build.Engine.OM.UnitTests (13)
Instance\ProjectInstance_Tests.cs (10)
86ProjectItemInstance returned = p.AddItem("i", "i1"); 107ProjectItemInstance returned = p.AddItem("i", "i%3b1"); 158p.AddItem(null, "i1"); 170p.AddItem(String.Empty, "i1"); 182p.AddItem("i", null); 333first.AddItem("i", "i3"); 704Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.AddItem("a", "b"); }); 874instance.AddItem("i", "ii"); 962instance.AddItem("i", "ii"); 979instance.AddItem("i", "ii");
Instance\ProjectItemInstance_Tests.cs (2)
349ProjectItemInstance item = projectInstance.AddItem("EscapedItem", "esca%20ped%3bitem"); 1195ProjectItemInstance item = projectInstance.AddItem("i", "i1");
Instance\ProjectMetadataInstance_Tests.cs (1)
36ProjectItemInstance item = projectInstance.AddItem("i", "i1");
Microsoft.Build.Engine.UnitTests (5)
BackEnd\BuildManager_Tests.cs (2)
2270instance.AddItem("Baz", "baz"); 2271instance.AddItem("Foo2", "foo21");
Collections\OMcollections_tests.cs (1)
325ProjectItemInstance item = projectInstance.AddItem(itemType, evaluatedInclude);
Instance\ProjectInstance_Internal_Tests.cs (1)
748pi.AddItem("foo", "bar");
Instance\ProjectMetadataInstance_Internal_Tests.cs (1)
58ProjectItemInstance item = projectInstance.AddItem("i", "i1");