18 references to InsertBeforeChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (1)
276InsertBeforeChild(child, FirstChild);
Definition\Project.cs (1)
3021itemElementToAddBefore.Parent.InsertBeforeChild(itemElement, itemElementToAddBefore);
Definition\ProjectItem.cs (1)
827oldXml.Parent.InsertBeforeChild(_xml, oldXml);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
37/// Facilitate remoting the <see cref="ProjectElementContainer.InsertBeforeChild"/>.
Microsoft.Build.Engine.OM.UnitTests (14)
Construction\ConstructionEditing_Tests.cs (12)
139project2.InsertBeforeChild(target2, target1); 219when.InsertBeforeChild(choose1, choose2); 280project.InsertBeforeChild(target1, target2); 341target.InsertBeforeChild(task2, task1); 442project.InsertBeforeChild(target, itemGroup); 471project.InsertBeforeChild(target, null); 517project.InsertBeforeChild(target1, itemGroup); 546project.InsertBeforeChild(target1, null); 918Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.InsertBeforeChild(c, r); }; 1066i.InsertBeforeChild(c, r); 1246choose.InsertBeforeChild(otherwise, when); 2427group2.InsertBeforeChild(item2, item1);
Construction\WhiteSpacePreservation_Tests.cs (1)
408itemGroup.InsertBeforeChild(newItemElement, existingItemElement);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
28this.ContainerXml.InsertBeforeChild(child.Import(OwningCollection), reference.Import(OwningCollection));