16 references to AddNewItem
Microsoft.Build (2)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1434
_batchBucket.Lookup.
AddNewItem
(newItem);
1528
_batchBucket.Lookup.
AddNewItem
(new ProjectItemInstance(_projectInstance, outputTargetName, EscapingUtilities.Escape(output), EscapingUtilities.Escape(parameterLocation.File)));
Microsoft.Build.Engine.UnitTests (14)
BackEnd\Lookup_Tests.cs (12)
107
lookup.
AddNewItem
(new ProjectItemInstance(project, "i1", "a2", project.FullPath));
264
lookup.
AddNewItem
(item2);
366
lookup.
AddNewItem
(item1);
409
lookup.
AddNewItem
(item1);
473
lookup.
AddNewItem
(item1);
533
lookup.
AddNewItem
(item1);
604
lookup.
AddNewItem
(item1);
671
lookup.
AddNewItem
(item1);
726
lookup.
AddNewItem
(item1);
773
lookup.
AddNewItem
(item1);
976
lookup.
AddNewItem
(item1);
1015
lookup.
AddNewItem
(new ProjectItemInstance(project, "x", "y", project.FullPath));
BackEnd\MockTaskBuilder.cs (2)
102
lookupForInference.
AddNewItem
(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.Location.File));
106
lookupForExecution.
AddNewItem
(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.Location.File));