28 references to RemoveItem
dotnet-openapi (1)
Commands\RemoveCommand.cs (1)
63
project.
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)
287
project.
RemoveItem
(itemToRemove);
Definition\DefinitionEditing_Tests.cs (6)
1306
project.
RemoveItem
(Helpers.GetFirst(project.GetItems("i")));
1337
project.
RemoveItem
(Helpers.GetFirst(project.GetItems("i")));
1365
project.
RemoveItem
(Helpers.GetFirst(project.GetItems("i")));
1399
project.
RemoveItem
(item);
1443
bool result = project.
RemoveItem
(item);
1455
AssertDisabledItemSplitting(projectContents, itemIndex, setupProject, (p, i) => { p.
RemoveItem
(i); });
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
70
project.
RemoveItem
(item);
Definition\Project_Tests.cs (5)
1761
project.
RemoveItem
(itemToRemove);
1827
project.
RemoveItem
(item1);
2223
project.
RemoveItem
(itemToRemove);
2224
project.
RemoveItem
(itemToRemove); // should not throw
2246
project.
RemoveItem
(itemToRemove); // should not throw
Definition\ProtectImports_Tests.cs (2)
233
project.
RemoveItem
(item);
287
project.
RemoveItem
(item);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (4)
168
pair.Real.
RemoveItem
(barWithMetadataViewFast);
171
pair.View.
RemoveItem
(barWithMetadataViewFast);
205
pair.View.
RemoveItem
(fooWithMetadataRealFast);
209
pair.Real.
RemoveItem
(fooWithMetadataRealFast);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
97
public bool RemoveItem(MockProjectItemLinkRemoter item) => this.Source.
RemoveItem
(this.OwningCollection.Import<ProjectItem, MockProjectItemLinkRemoter>(item));
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Evaluator_Tests.cs (1)
2036
project.
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);