15 references to AddItem
Microsoft.Build (3)
Definition\Project.cs (2)
90/// - <see cref="AddItem(string,string, IEnumerable&lt;KeyValuePair&lt;string, string&gt;&gt;)"/> 1192return 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)
536project.AddItem("ProjectReference", @"..\CLREXE\CLREXE.vcxproj",
Definition\DefinitionEditing_Tests.cs (4)
209project.AddItem("i", "i1", metadata); 246project.AddItem("i", "i1", null); 618project.AddItem("i", "i1.xxx", metadata); 1974project.AddItem("i", "i1;i2", metadata);
Definition\ProjectMetadata_Tests.cs (1)
511Microsoft.Build.Evaluation.ProjectItem item = project.AddItem(
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
55var 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)
846ProjectItem 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);