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)
974AppendChild(import); 987AppendChild(importGroup); 1078AppendChild(newItemGroup); 1127itemDefinitionGroupToAddTo.AppendChild(newItemDefinition); 1247AppendChild(target); 1260AppendChild(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); 958traversalProject.AppendChild(importAfter); 959traversalProject.AppendChild(directorySolutionTargetsPropertyGroup); 960traversalProject.AppendChild(directorySolutionTargetsImport); 961traversalProject.AppendChild(importAfterLocal); 963directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsFileProperty); 964directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsBasePathProperty); 965directorySolutionTargetsPropertyGroup.AppendChild(directorySolutionTargetsPathProperty); 967directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsFileProperty); 968directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsBasePathProperty); 969directorySolutionPropsPropertyGroup.AppendChild(directorySolutionPropsPathProperty); 2239traversalProject.AppendChild(configurationDefaultingPropertyGroup); 2245traversalProject.AppendChild(platformDefaultingPropertyGroup); 2273traversalProject.AppendChild(venusConfiguration); 2285traversalProject.AppendChild(globalProperties); 2302traversalProject.AppendChild(frameworkVersionProperties);
Construction\UsingTaskParameterGroupElement.cs (1)
83AppendChild(newParameter);
Definition\Project.cs (1)
3093groupToAppendTo.AppendChild(itemElement);
Instance\ProjectItemDefinitionInstance.cs (1)
212parent.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)
59project.AppendChild(target); 80project.AppendChild(target1); 81project.AppendChild(target2); 109project2.AppendChild(target); 168choose.AppendChild(choose); 182project.AppendChild(choose); 183choose.AppendChild(when); 184when.AppendChild(choose); 198project.AppendChild(choose); 199choose.AppendChild(when); 215project.AppendChild(choose1); 216choose1.AppendChild(when); 233project.AppendChild(choose1); 234choose1.AppendChild(when); 250project.AppendChild(target); 309target.AppendChild(task); 368project.AppendChild(target); 392project.AppendChild(target); 588project.AppendChild(target); 589target.AppendChild(task); 634target.AppendChild(project); 649project.AppendChild(target); 650target.AppendChild(item); 665project.AppendChild(itemGroup); 666itemGroup.AppendChild(item); 680project.AppendChild(target); 681target.AppendChild(itemGroup); 682itemGroup.AppendChild(item); 708project.AppendChild(target); 709target.AppendChild(itemGroup); 710itemGroup.AppendChild(item); 744project.AppendChild(itemGroup); 745itemGroup.AppendChild(itemRemoveFirst); 1152project.AppendChild(itemGroup); 1153itemGroup.AppendChild(firstIncludeItem); 1154itemGroup.AppendChild(secondIncludeItem); 1158firstUpdateItem.AppendChild(firstMetadata); 1161itemGroup.AppendChild(secondUpdateItem); 1162secondUpdateItem.AppendChild(secondMetadata); 1225itemGroup1.AppendChild(item); 1243project.AppendChild(choose); 1244choose.AppendChild(when); 1258project.AppendChild(choose); 1259choose.AppendChild(project.CreateWhenElement("c")); 1260choose.AppendChild(project.CreateOtherwiseElement()); 1261choose.AppendChild(project.CreateOtherwiseElement()); 1274project.AppendChild(choose); 1275choose.AppendChild(project.CreateWhenElement("c")); 1276choose.AppendChild(project.CreateOtherwiseElement()); 1293project.AppendChild(choose); 1294choose.AppendChild(otherwise); 1309project.AppendChild(choose); 1310choose.AppendChild(when); 1311choose.AppendChild(otherwise); 1416project.AppendChild(target1); 1465project.AppendChild(target1); 1506project.AppendChild(target1); 1640project.AppendChild(project.CreatePropertyGroupElement()); 1932project.AppendChild(choose); 1933choose.AppendChild(when); 1934when.AppendChild(ig1); 1939choose.AppendChild(otherwise); 1940otherwise.AppendChild(ig2); 2301current.AppendChild(choose); 2302choose.AppendChild(when); 2379group2.AppendChild(item1); 2380group2.AppendChild(item2); 2402group2.AppendChild(item1); 2425group2.AppendChild(item1); 2448group2.AppendChild(item1); 2471group2.AppendChild(item1); 2495group2.AppendChild(item1); 2496group2.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)
1172target.AppendChild(pre.CreateOnErrorElement("someTarget")); 1185pre.AppendChild(choose); 1187choose.AppendChild(when1); 1188when1.AppendChild(pre.CreatePropertyGroupElement()); 1190choose.AppendChild(otherwise); 1191otherwise.AppendChild(pre.CreateItemGroupElement()); 1210pre.AppendChild(extensions); 1225pre.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);