139 references to AppendChild
Microsoft.Build (46)
Construction\ProjectElementContainer.cs (6)
127/// Cannot be set directly; use <see cref="AppendChild">AppendChild()</see>. 189/// Reference child may be null, in which case this is equivalent to <see cref="AppendChild">AppendChild(child)</see>. 210AppendChild(child); 373AppendChild(child.Clone(ContainingProject)); 417parent?.AppendChild(clone); 427clone.AppendChild(child.Clone(clone.ContainingProject));
Construction\ProjectImportGroupElement.cs (1)
67AppendChild(newImport);
Construction\ProjectItemDefinitionElement.cs (1)
87AppendChild(metadata);
Construction\ProjectItemDefinitionGroupElement.cs (1)
58AppendChild(itemDefinition);
Construction\ProjectItemElement.cs (1)
404AppendChild(metadata);
Construction\ProjectPropertyGroupElement.cs (1)
66AppendChild(newProperty);
Construction\ProjectRootElement.cs (6)
944AppendChild(import); 957AppendChild(importGroup); 1048AppendChild(newItemGroup); 1097itemDefinitionGroupToAddTo.AppendChild(newItemDefinition); 1217AppendChild(target); 1230AppendChild(usingTask);
Construction\ProjectTargetElement.cs (3)
357AppendChild(itemGroup); 370AppendChild(propertyGroup); 385AppendChild(task);
Construction\ProjectTaskElement.cs (2)
251AppendChild(outputItem); 281AppendChild(outputProperty);
Construction\ProjectUsingTaskElement.cs (1)
222AppendChild(newTaskBody);
Construction\Solution\SolutionProjectGenerator.cs (16)
239msbuildProject.AppendChild(solutionConfigurationProperties); 966traversalProject.AppendChild(importAfter); 967traversalProject.AppendChild(directorySolutionTargetsPropertyGroup); 968traversalProject.AppendChild(directorySolutionTargetsImport); 969traversalProject.AppendChild(importAfterLocal); 971directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsFileProperty); 972directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsBasePathProperty); 973directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsPathProperty); 975directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsFileProperty); 976directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsBasePathProperty); 977directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsPathProperty); 2226traversalProject.AppendChild(configurationDefaultingPropertyGroup); 2232traversalProject.AppendChild(platformDefaultingPropertyGroup); 2260traversalProject.AppendChild(venusConfiguration); 2272traversalProject.AppendChild(globalProperties); 2289traversalProject.AppendChild(frameworkVersionProperties);
Construction\UsingTaskParameterGroupElement.cs (1)
83AppendChild(newParameter);
Definition\Project.cs (1)
3087groupToAppendTo.AppendChild(itemElement);
Instance\ProjectItemDefinitionInstance.cs (1)
213parent.AppendChild(element);
Instance\ProjectItemInstance.cs (1)
681parent.AppendChild(item);
Instance\ProjectPropertyInstance.cs (1)
310parent.AppendChild(property);
Instance\ProjectTargetInstance.cs (1)
471rootElement.AppendChild(target);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
42/// Helps implementation of the <see cref="ProjectElementContainer.AppendChild"/>.
Microsoft.Build.Engine.OM.UnitTests (93)
Construction\ConstructionEditing_Tests.cs (73)
60project.AppendChild(target); 81project.AppendChild(target1); 82project.AppendChild(target2); 110project2.AppendChild(target); 169choose.AppendChild(choose); 183project.AppendChild(choose); 184choose.AppendChild(when); 185when.AppendChild(choose); 199project.AppendChild(choose); 200choose.AppendChild(when); 216project.AppendChild(choose1); 217choose1.AppendChild(when); 234project.AppendChild(choose1); 235choose1.AppendChild(when); 251project.AppendChild(target); 310target.AppendChild(task); 369project.AppendChild(target); 393project.AppendChild(target); 589project.AppendChild(target); 590target.AppendChild(task); 635target.AppendChild(project); 650project.AppendChild(target); 651target.AppendChild(item); 666project.AppendChild(itemGroup); 667itemGroup.AppendChild(item); 681project.AppendChild(target); 682target.AppendChild(itemGroup); 683itemGroup.AppendChild(item); 709project.AppendChild(target); 710target.AppendChild(itemGroup); 711itemGroup.AppendChild(item); 745project.AppendChild(itemGroup); 746itemGroup.AppendChild(itemRemoveFirst); 1153project.AppendChild(itemGroup); 1154itemGroup.AppendChild(firstIncludeItem); 1155itemGroup.AppendChild(secondIncludeItem); 1159firstUpdateItem.AppendChild(firstMetadata); 1162itemGroup.AppendChild(secondUpdateItem); 1163secondUpdateItem.AppendChild(secondMetadata); 1226itemGroup1.AppendChild(item); 1244project.AppendChild(choose); 1245choose.AppendChild(when); 1259project.AppendChild(choose); 1260choose.AppendChild(project.CreateWhenElement("c")); 1261choose.AppendChild(project.CreateOtherwiseElement()); 1262choose.AppendChild(project.CreateOtherwiseElement()); 1275project.AppendChild(choose); 1276choose.AppendChild(project.CreateWhenElement("c")); 1277choose.AppendChild(project.CreateOtherwiseElement()); 1294project.AppendChild(choose); 1295choose.AppendChild(otherwise); 1310project.AppendChild(choose); 1311choose.AppendChild(when); 1312choose.AppendChild(otherwise); 1417project.AppendChild(target1); 1466project.AppendChild(target1); 1507project.AppendChild(target1); 1641project.AppendChild(project.CreatePropertyGroupElement()); 1933project.AppendChild(choose); 1934choose.AppendChild(when); 1935when.AppendChild(ig1); 1940choose.AppendChild(otherwise); 1941otherwise.AppendChild(ig2); 2302current.AppendChild(choose); 2303choose.AppendChild(when); 2380group2.AppendChild(item1); 2381group2.AppendChild(item2); 2403group2.AppendChild(item1); 2426group2.AppendChild(item1); 2449group2.AppendChild(item1); 2472group2.AppendChild(item1); 2496group2.AppendChild(item1); 2497group2.AppendChild(item2);
Construction\ElementLocationPublic_Tests.cs (3)
33project.AppendChild(target); 50project.AppendChild(target); 71project.AppendChild(target);
Construction\ProjectOnErrorElement_Tests.cs (2)
261target.AppendChild(onError); 279target.AppendChild(onError);
Construction\ProjectRootElement_Tests.cs (8)
1176target.AppendChild(pre.CreateOnErrorElement("someTarget")); 1189pre.AppendChild(choose); 1191choose.AppendChild(when1); 1192when1.AppendChild(pre.CreatePropertyGroupElement()); 1194choose.AppendChild(otherwise); 1195otherwise.AppendChild(pre.CreateItemGroupElement()); 1214pre.AppendChild(extensions); 1229pre.AppendChild(extensions);
Definition\ProjectCollection_Tests.cs (3)
1355pre.AppendChild(pre.CreatePropertyGroupElement()); 1365pre.AppendChild(pre.CreatePropertyGroupElement()); 1411pre.AppendChild(pre.CreatePropertyGroupElement());
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (1)
33appendWhere.AppendChild(c1Where);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
373xmlPair.View.AppendChild(chooseCreataed.View);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (2)
119Assert.ThrowsAny<InvalidOperationException>(() => xmlPair.View.AppendChild(cloned)); 126xmlPair.View.AppendChild(cloned);