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