15 references to AddItem
Microsoft.Build (3)
Definition\Project.cs (2)
90
/// - <see cref="
AddItem
(string,string, IEnumerable<KeyValuePair<string, string>>)"/>
1192
return
AddItem
(itemType, unevaluatedInclude, null);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
184
/// Facilitate remoting the <see cref="Project.
AddItem
(string, string, IEnumerable{KeyValuePair{string, string}})"/>.
Microsoft.Build.Engine.OM.UnitTests (8)
Construction\ProjectFormatting_Tests.cs (1)
536
project.
AddItem
("ProjectReference", @"..\CLREXE\CLREXE.vcxproj",
Definition\DefinitionEditing_Tests.cs (4)
209
project.
AddItem
("i", "i1", metadata);
246
project.
AddItem
("i", "i1", null);
618
project.
AddItem
("i", "i1.xxx", metadata);
1974
project.
AddItem
("i", "i1;i2", metadata);
Definition\ProjectMetadata_Tests.cs (1)
511
Microsoft.Build.Evaluation.ProjectItem item = project.
AddItem
(
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
55
var added = (metadata == null) ? toAdd.AddItem(itemType, unevaluatedInclude) : toAdd.
AddItem
(itemType, unevaluatedInclude, metadata);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
73
=> this.OwningCollection.ExportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.Source.
AddItem
(itemType, unevaluatedInclude, metadata));
Microsoft.Build.Engine.UnitTests (1)
EscapingInProjects_Tests.cs (1)
846
ProjectItem item = project.
AddItem
("None", "MetadataTests", new Dictionary<string, string> {
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
MSBuild\ProjectFile\ProjectFile.cs (3)
379
_loadedProject.
AddItem
(ItemNames.Compile, relativePath, metadata);
414
_loadedProject.
AddItem
(ItemNames.Reference, metadataReferenceIdentity, metadata);
492
_loadedProject.
AddItem
(ItemNames.ProjectReference, relativePath, metadata);