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