28 references to RemoveItem
dotnet-openapi (1)
Commands\RemoveCommand.cs (1)
63project.RemoveItem(item);
Microsoft.Build (2)
Definition\Project.cs (1)
88/// - <see cref="RemoveItem"/>
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
219/// Facilitate remoting the <see cref="Project.RemoveItem"/>.
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\ProjectFormatting_Tests.cs (1)
287project.RemoveItem(itemToRemove);
Definition\DefinitionEditing_Tests.cs (6)
1306project.RemoveItem(Helpers.GetFirst(project.GetItems("i"))); 1337project.RemoveItem(Helpers.GetFirst(project.GetItems("i"))); 1365project.RemoveItem(Helpers.GetFirst(project.GetItems("i"))); 1399project.RemoveItem(item); 1443bool result = project.RemoveItem(item); 1455AssertDisabledItemSplitting(projectContents, itemIndex, setupProject, (p, i) => { p.RemoveItem(i); });
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
70project.RemoveItem(item);
Definition\Project_Tests.cs (5)
1761project.RemoveItem(itemToRemove); 1827project.RemoveItem(item1); 2223project.RemoveItem(itemToRemove); 2224project.RemoveItem(itemToRemove); // should not throw 2246project.RemoveItem(itemToRemove); // should not throw
Definition\ProtectImports_Tests.cs (2)
233project.RemoveItem(item); 287project.RemoveItem(item);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (4)
168pair.Real.RemoveItem(barWithMetadataViewFast); 171pair.View.RemoveItem(barWithMetadataViewFast); 205pair.View.RemoveItem(fooWithMetadataRealFast); 209pair.Real.RemoveItem(fooWithMetadataRealFast);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
97public bool RemoveItem(MockProjectItemLinkRemoter item) => this.Source.RemoveItem(this.OwningCollection.Import<ProjectItem, MockProjectItemLinkRemoter>(item));
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Evaluator_Tests.cs (1)
2036project.RemoveItem(project.AllEvaluatedItems.ElementAt(1));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
MSBuild\ProjectFile\ProjectFile.cs (4)
396_loadedProject.RemoveItem(item); 427_loadedProject.RemoveItem(item); 505_loadedProject.RemoveItem(item); 556_loadedProject.RemoveItem(item);