3 instantiations of ProjectPropertyGroupElement
Microsoft.Build (3)
Construction\ProjectPropertyGroupElement.cs (1)
101return new ProjectPropertyGroupElement(element, containingProject);
Evaluation\ProjectParser.cs (1)
220ProjectPropertyGroupElement propertyGroup = new ProjectPropertyGroupElement(element, parent, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
200return new ProjectPropertyGroupElement(link);
78 references to ProjectPropertyGroupElement
installer.tasks (1)
GenerateFileVersionProps.cs (1)
151var propertyGroup = props.AddPropertyGroup();
Microsoft.Build (47)
Construction\ProjectOtherwiseElement.cs (2)
63public ICollection<ProjectPropertyGroupElement> PropertyGroups => GetChildrenOfType<ProjectPropertyGroupElement>();
Construction\ProjectPropertyElement.cs (2)
39internal ProjectPropertyElement(XmlElementWithLocation xmlElement, ProjectPropertyGroupElement parent, ProjectRootElement containingProject) 134ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectPropertyGroupElement, "OM_CannotAcceptParent");
Construction\ProjectPropertyGroupElement.cs (1)
97internal static ProjectPropertyGroupElement CreateDisconnected(ProjectRootElement containingProject)
Construction\ProjectRootElement.cs (14)
338public ICollection<ProjectPropertyGroupElement> PropertyGroups => GetChildrenOfType<ProjectPropertyGroupElement>(); 374public ICollection<ProjectPropertyGroupElement> PropertyGroupsReversed => GetChildrenReversedOfType<ProjectPropertyGroupElement>(); 1059foreach (ProjectPropertyGroupElement propertyGroup in PropertyGroupsReversed) 1142foreach (ProjectPropertyGroupElement propertyGroup in PropertyGroupsReversed) 1161public ProjectPropertyGroupElement AddPropertyGroup() 1163ProjectPropertyGroupElement reference = null; 1165foreach (ProjectPropertyGroupElement propertyGroup in PropertyGroupsReversed) 1171ProjectPropertyGroupElement newPropertyGroup = CreatePropertyGroupElement(); 1186ProjectPropertyGroupElement matchingPropertyGroup = null; 1189foreach (ProjectPropertyGroupElement propertyGroup in PropertyGroups) 1415public ProjectPropertyGroupElement CreatePropertyGroupElement() 1417return Link != null ? RootLink.CreatePropertyGroupElement() : ProjectPropertyGroupElement.CreateDisconnected(this);
Construction\ProjectTargetElement.cs (4)
64public ICollection<ProjectPropertyGroupElement> PropertyGroups => GetChildrenOfType<ProjectPropertyGroupElement>(); 366public ProjectPropertyGroupElement AddPropertyGroup() 368ProjectPropertyGroupElement propertyGroup = ContainingProject.CreatePropertyGroupElement();
Construction\ProjectWhenElement.cs (2)
59public ICollection<ProjectPropertyGroupElement> PropertyGroups => GetChildrenOfType<ProjectPropertyGroupElement>();
Construction\Solution\SolutionProjectGenerator.cs (8)
238ProjectPropertyGroupElement solutionConfigurationProperties = msbuildProject.CreatePropertyGroupElement(); 912ProjectPropertyGroupElement directorySolutionPropsPropertyGroup = traversalProject.CreatePropertyGroupElement(); 930ProjectPropertyGroupElement directorySolutionTargetsPropertyGroup = traversalProject.CreatePropertyGroupElement(); 2238ProjectPropertyGroupElement configurationDefaultingPropertyGroup = traversalProject.CreatePropertyGroupElement(); 2244ProjectPropertyGroupElement platformDefaultingPropertyGroup = traversalProject.CreatePropertyGroupElement(); 2272ProjectPropertyGroupElement venusConfiguration = traversalProject.CreatePropertyGroupElement(); 2284ProjectPropertyGroupElement globalProperties = traversalProject.CreatePropertyGroupElement(); 2301ProjectPropertyGroupElement frameworkVersionProperties = traversalProject.CreatePropertyGroupElement();
Evaluation\Evaluator.cs (7)
474private static ProjectPropertyGroupTaskInstance ReadPropertyGroupUnderTargetElement(ProjectPropertyGroupElement propertyGroupElement) 569case ProjectPropertyGroupElement propertyGroup: 903case ProjectPropertyGroupElement propertyGroup: 983private void EvaluatePropertyGroupElement(ProjectPropertyGroupElement propertyGroupElement) 1480case ProjectPropertyGroupElement propertyGroup: 1939var propertyGroup = project.AddPropertyGroup(); 2464if (element is ProjectPropertyGroupElement || element is ProjectImportElement || element is ProjectImportGroupElement)
Evaluation\LazyItemEvaluator.cs (1)
109if (element is ProjectPropertyGroupElement || element is ProjectImportElement || element is ProjectImportGroupElement)
Evaluation\ProjectParser.cs (2)
216private ProjectPropertyGroupElement ParseProjectPropertyGroupElement(XmlElementWithLocation element, ProjectElementContainer parent) 220ProjectPropertyGroupElement propertyGroup = new ProjectPropertyGroupElement(element, parent, _project);
Instance\ProjectInstance.cs (1)
2301ProjectPropertyGroupElement propertyGroupElement = rootElement.AddPropertyGroup();
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
104/// Allow for creating a local representation to external object of type <see cref="ProjectPropertyGroupElement"/>
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
143public abstract ProjectPropertyGroupElement CreatePropertyGroupElement();
ObjectModelRemoting\LinkedObjectFactory.cs (1)
198public ProjectPropertyGroupElement Create(ProjectPropertyGroupElementLink link)
Microsoft.Build.Engine.OM.UnitTests (30)
Construction\ConstructionEditing_Tests.cs (5)
1529ProjectPropertyGroupElement propertyGroup = project.AddPropertyGroup(); 1554ProjectPropertyGroupElement propertyGroup1 = project.CreatePropertyGroupElement(); 1555ProjectPropertyGroupElement propertyGroup2 = project.CreatePropertyGroupElement(); 1560ProjectPropertyGroupElement propertyGroup3 = project.AddPropertyGroup(); 2162ProjectPropertyGroupElement propertyGroup = project.AddPropertyGroup();
Construction\ProjectPropertyElement_Tests.cs (4)
49ProjectPropertyGroupElement propertyGroup = (ProjectPropertyGroupElement)Helpers.GetFirst(project.Children); 280ProjectPropertyGroupElement propertyGroup = (ProjectPropertyGroupElement)Helpers.GetFirst(project.Children);
Construction\ProjectPropertyGroupElement_Tests.cs (7)
43ProjectPropertyGroupElement group = (ProjectPropertyGroupElement)Helpers.GetFirst(project.Children); 65ProjectPropertyGroupElement group = (ProjectPropertyGroupElement)Helpers.GetFirst(project.Children); 83ProjectPropertyGroupElement propertyGroup = Helpers.GetFirst(project.PropertyGroups); 100ProjectPropertyGroupElement propertyGroup = Helpers.GetFirst(project.PropertyGroups); 114ProjectPropertyGroupElement propertyGroup = project.AddPropertyGroup();
Construction\ProjectRootElement_Tests.cs (1)
1163var pg = pre.AddPropertyGroup();
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
939public static void Verify(ProjectPropertyGroupElement viewXml, ProjectPropertyGroupElement realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
234if (VerifyCheckType<ProjectPropertyGroupElement>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (7)
94xmlPair.Add2NewLabeledChildrenWithVerify<ProjectPropertyGroupElement>("NewPropGroup", (p, l) => p.AddPropertyGroup(), out var itemPropretyGroup1, out var itemPropretyGroup2); 120xmlPair.CreateWithVerify<ProjectPropertyGroupElement>((p) => p.CreatePropertyGroupElement()); 160newTarget1.Add2NewLabeledChildrenWithVerify<ProjectPropertyGroupElement>(NewPropertyGroup, (t, l) => t.AddPropertyGroup(), out var newPropertyGroup1, out var newPropertyGroup2); 426when.Append2NewLabeledChildrenWithVerify<ProjectPropertyGroupElement>("propGroup", (p, l) => p.CreatePropertyGroupElement(), out var propGroup1, out var propGroup2); 464otherwise.Append2NewLabeledChildrenWithVerify<ProjectPropertyGroupElement>("propGroup", (p, l) => p.CreatePropertyGroupElement(), out var propGroup1, out var propGroup2); 716var propGrp = xmlPair.AddNewLabeledChaildWithVerify<ProjectPropertyGroupElement>(ObjectType.View, "grp", (p, l) => p.AddPropertyGroup()); 729var propGrp = xmlPair.AddNewLabeledChaildWithVerify<ProjectPropertyGroupElement>(ObjectType.View, "grp", (p, l) => p.AddPropertyGroup());
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
276public override ProjectPropertyGroupElement CreatePropertyGroupElement() 278return (ProjectPropertyGroupElement)this.Proxy.CreatePropertyGroupElement().Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
64ElementInfo.New<ProjectPropertyGroupElement , MockProjectPropertyGroupElementLinkRemoter>(),