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)
1082InsertAfterChild(newItemGroup, reference); 1159InsertAfterChild(newItemDefinitionGroup, reference); 1181InsertAfterChild(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)
153project2.InsertAfterChild(target2, target1); 236when.InsertAfterChild(choose1, choose2); 294project.InsertAfterChild(target1, target2); 356target.InsertAfterChild(task2, task1); 493project.InsertAfterChild(target, null); 517project.InsertAfterChild(target2, itemGroup); 566project.InsertAfterChild(target, null); 746itemGroup.InsertAfterChild(itemInclude, itemRemoveFirst); 747itemGroup.InsertAfterChild(itemRemoveSecond, itemInclude); 748itemGroup.InsertAfterChild(itemUpdate, itemRemoveSecond); 749itemGroup.InsertAfterChild(itemRemoveThird, itemUpdate); 875Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.InsertAfterChild(c, r); }; 1001i.InsertAfterChild(c, r); 1157itemGroup.InsertAfterChild(firstUpdateItem, firstIncludeItem); 1277choose.InsertAfterChild(project.CreateOtherwiseElement(), choose.FirstChild); 1295choose.InsertAfterChild(when, otherwise); 1556project.InsertAfterChild(propertyGroup1, target1); 1557project.InsertAfterChild(propertyGroup2, target2); 2449group2.InsertAfterChild(item2, item1); 2472group2.InsertAfterChild(item2, item1);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
23this.ContainerXml.InsertAfterChild(child.Import(OwningCollection), reference.Import(OwningCollection));