16 references to AddNewItem
Microsoft.Build (2)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1427
_batchBucket.Lookup.
AddNewItem
(newItem);
1521
_batchBucket.Lookup.
AddNewItem
(new ProjectItemInstance(_projectInstance, outputTargetName, EscapingUtilities.Escape(output), EscapingUtilities.Escape(parameterLocation.File)));
Microsoft.Build.Engine.UnitTests (14)
BackEnd\Lookup_Tests.cs (12)
108
lookup.
AddNewItem
(new ProjectItemInstance(project, "i1", "a2", project.FullPath));
265
lookup.
AddNewItem
(item2);
367
lookup.
AddNewItem
(item1);
410
lookup.
AddNewItem
(item1);
474
lookup.
AddNewItem
(item1);
534
lookup.
AddNewItem
(item1);
605
lookup.
AddNewItem
(item1);
672
lookup.
AddNewItem
(item1);
727
lookup.
AddNewItem
(item1);
774
lookup.
AddNewItem
(item1);
977
lookup.
AddNewItem
(item1);
1016
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));