27 references to InsertAfterChild
Microsoft.Build (6)
Construction\ProjectElementContainer.cs (1)
257InsertAfterChild(child, LastChild);
Construction\ProjectItemGroupElement.cs (1)
138InsertAfterChild(newItem, reference);
Construction\ProjectRootElement.cs (3)
1052InsertAfterChild(newItemGroup, reference); 1129InsertAfterChild(newItemDefinitionGroup, reference); 1151InsertAfterChild(newPropertyGroup, reference);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
32/// Facilitate remoting the <see cref="ProjectElementContainer.InsertAfterChild"/>.
Microsoft.Build.Engine.OM.UnitTests (21)
Construction\ConstructionEditing_Tests.cs (20)
154project2.InsertAfterChild(target2, target1); 237when.InsertAfterChild(choose1, choose2); 295project.InsertAfterChild(target1, target2); 357target.InsertAfterChild(task2, task1); 494project.InsertAfterChild(target, null); 518project.InsertAfterChild(target2, itemGroup); 567project.InsertAfterChild(target, null); 747itemGroup.InsertAfterChild(itemInclude, itemRemoveFirst); 748itemGroup.InsertAfterChild(itemRemoveSecond, itemInclude); 749itemGroup.InsertAfterChild(itemUpdate, itemRemoveSecond); 750itemGroup.InsertAfterChild(itemRemoveThird, itemUpdate); 876Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.InsertAfterChild(c, r); }; 1002i.InsertAfterChild(c, r); 1158itemGroup.InsertAfterChild(firstUpdateItem, firstIncludeItem); 1278choose.InsertAfterChild(project.CreateOtherwiseElement(), choose.FirstChild); 1296choose.InsertAfterChild(when, otherwise); 1557project.InsertAfterChild(propertyGroup1, target1); 1558project.InsertAfterChild(propertyGroup2, target2); 2450group2.InsertAfterChild(item2, item1); 2473group2.InsertAfterChild(item2, item1);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
23this.ContainerXml.InsertAfterChild(child.Import(OwningCollection), reference.Import(OwningCollection));