4 instantiations of ProjectExtensionsElement
Microsoft.Build (4)
Construction\ProjectExtensionsElement.cs (2)
185return new ProjectExtensionsElement(element, parent, containingProject); 196return new ProjectExtensionsElement(element, containingProject);
Evaluation\ProjectParser.cs (1)
889return new ProjectExtensionsElement(element, _project, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
140return new ProjectExtensionsElement(link);
45 references to ProjectExtensionsElement
Microsoft.Build (14)
Construction\ProjectExtensionsElement.cs (4)
174var other = (ProjectExtensionsElement)element; 183internal static ProjectExtensionsElement CreateParented(XmlElementWithLocation element, ProjectRootElement parent, ProjectRootElement containingProject) 192internal static ProjectExtensionsElement CreateDisconnected(ProjectRootElement containingProject)
Construction\ProjectRootElement.cs (4)
704internal ProjectExtensionsElement ProjectExtensions 705=> GetChildrenReversedOfType<ProjectExtensionsElement>().FirstOrDefault(); 1384public ProjectExtensionsElement CreateProjectExtensionsElement() 1386return Link != null ? RootLink.CreateProjectExtensionsElement() : ProjectExtensionsElement.CreateDisconnected(this);
Evaluation\Evaluator.cs (1)
923case ProjectExtensionsElement extension:
Evaluation\ProjectParser.cs (1)
879private ProjectExtensionsElement ParseProjectExtensionsElement(XmlElementWithLocation element)
ObjectModelRemoting\ConstructionObjectLinks\ProjectExtensionsElementLink.cs (2)
12/// Allow for creating a local representation to external object of type <see cref="ProjectExtensionsElement"/> 17/// Access to remote <see cref="ProjectExtensionsElement.Content"/>.
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
138public abstract ProjectExtensionsElement CreateProjectExtensionsElement();
ObjectModelRemoting\LinkedObjectFactory.cs (1)
138public ProjectExtensionsElement Create(ProjectExtensionsElementLink link)
Microsoft.Build.Engine.OM.UnitTests (31)
Construction\ProjectExtensionsElement_Tests.cs (15)
36ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children); 83ProjectExtensionsElement extensions = GetEmptyProjectExtensions(); 100ProjectExtensionsElement extensions = GetEmptyProjectExtensions(); 122ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children); 148ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children); 174ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children); 197ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children); 206private static ProjectExtensionsElement GetEmptyProjectExtensions() 216ProjectExtensionsElement extensions = (ProjectExtensionsElement)Helpers.GetFirst(project.Children);
Construction\ProjectRootElement_Tests.cs (2)
1212var extensions = pre.CreateProjectExtensionsElement(); 1227var extensions = pre.CreateProjectExtensionsElement();
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
607public static void Verify(ProjectExtensionsElement viewXml, ProjectExtensionsElement realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
194if (VerifyCheckType<ProjectExtensionsElement>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
117xmlPair.CreateWithVerify<ProjectExtensionsElement>((p) => p.CreateProjectExtensionsElement()); 574var extensionXml = xmlPair.AppendNewChaildWithVerify<ProjectExtensionsElement>(ObjectType.View, "ext", (p, s) => p.CreateProjectExtensionsElement(), (pe, s) => true);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (4)
92var realExtensionsList = preReal.ChildrenReversed.OfType<ProjectExtensionsElement>().ToList(); 93var viewExtensionsList = preView.ChildrenReversed.OfType<ProjectExtensionsElement>().ToList(); 99var realXml = realExtensionsList.FirstOrDefault(); 100var viewXml = viewExtensionsList.FirstOrDefault();
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectExtensionsElementLink.cs (2)
14public ProjectExtensionsElement ExtensionXml => (ProjectExtensionsElement)Source;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
271public override ProjectExtensionsElement CreateProjectExtensionsElement() 273return (ProjectExtensionsElement)this.Proxy.CreateProjectExtensionsElement().Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
53ElementInfo.New<ProjectExtensionsElement , MockProjectExtensionsElementLinkRemoter>(),