18 references to InsertBeforeChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (1)
276
InsertBeforeChild
(child, FirstChild);
Definition\Project.cs (1)
3027
itemElementToAddBefore.Parent.
InsertBeforeChild
(itemElement, itemElementToAddBefore);
Definition\ProjectItem.cs (1)
827
oldXml.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)
138
project2.
InsertBeforeChild
(target2, target1);
218
when.
InsertBeforeChild
(choose1, choose2);
279
project.
InsertBeforeChild
(target1, target2);
340
target.
InsertBeforeChild
(task2, task1);
441
project.
InsertBeforeChild
(target, itemGroup);
470
project.
InsertBeforeChild
(target, null);
516
project.
InsertBeforeChild
(target1, itemGroup);
545
project.
InsertBeforeChild
(target1, null);
917
Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.
InsertBeforeChild
(c, r); };
1065
i.
InsertBeforeChild
(c, r);
1245
choose.
InsertBeforeChild
(otherwise, when);
2426
group2.
InsertBeforeChild
(item2, item1);
Construction\WhiteSpacePreservation_Tests.cs (1)
408
itemGroup.
InsertBeforeChild
(newItemElement, existingItemElement);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
28
this.ContainerXml.
InsertBeforeChild
(child.Import(OwningCollection), reference.Import(OwningCollection));