18 references to InsertBeforeChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (1)
276
InsertBeforeChild
(child, FirstChild);
Definition\Project.cs (1)
3021
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)
139
project2.
InsertBeforeChild
(target2, target1);
219
when.
InsertBeforeChild
(choose1, choose2);
280
project.
InsertBeforeChild
(target1, target2);
341
target.
InsertBeforeChild
(task2, task1);
442
project.
InsertBeforeChild
(target, itemGroup);
471
project.
InsertBeforeChild
(target, null);
517
project.
InsertBeforeChild
(target1, itemGroup);
546
project.
InsertBeforeChild
(target1, null);
918
Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.
InsertBeforeChild
(c, r); };
1066
i.
InsertBeforeChild
(c, r);
1246
choose.
InsertBeforeChild
(otherwise, when);
2427
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));