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