4 writes to FirstChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (4)
222
FirstChild
= child;
319
FirstChild
= child.NextSibling;
395
FirstChild
= child;
656
FirstChild
= child;
24 references to FirstChild
Microsoft.Build (17)
Construction\ProjectElementContainer.cs (14)
69
=>
FirstChild
== null
79
get =>
FirstChild
== null
81
: new Collections.ReadOnlyCollection<ProjectElement>(new ProjectElementSiblingEnumerable(
FirstChild
));
89
internal ProjectElementSiblingEnumerable ChildrenEnumerable => new ProjectElementSiblingEnumerable(
FirstChild
);
93
=>
FirstChild
== null
95
: new ProjectElementSiblingSubTypeCollection<T>(
FirstChild
);
220
if (
FirstChild
== reference)
256
ErrorUtilities.VerifyThrow(
FirstChild
!= null, "Invalid structure");
269
if (
FirstChild
== null)
276
InsertBeforeChild(child,
FirstChild
);
317
if (ReferenceEquals(child,
FirstChild
))
642
ErrorUtilities.VerifyThrow(
FirstChild
== null && LastChild == null, "Expecting no children");
710
ProjectElement child =
FirstChild
;
731
ProjectElement child =
FirstChild
;
Construction\ProjectItemElement.cs (1)
281
public bool HasMetadata =>
FirstChild
!= null;
Construction\ProjectUsingTaskElement.cs (1)
164
UsingTaskParameterGroupElement parameterGroup =
FirstChild
as UsingTaskParameterGroupElement;
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
22
/// Access to remote <see cref="ProjectElementContainer.
FirstChild
"/>.
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ConstructionEditing_Tests.cs (1)
1278
choose.InsertAfterChild(project.CreateOtherwiseElement(), choose.
FirstChild
);
Construction\WhiteSpacePreservation_Tests.cs (1)
405
var existingItemElement = itemGroup.
FirstChild
;
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (4)
425
VerifyNotLinked(realXml.
FirstChild
);
426
VerifyLinked(viewXml.
FirstChild
);
431
var realChild = realXml.
FirstChild
;
432
var viewChild = viewXml.
FirstChild
;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
18
public MockProjectElementLinkRemoter FirstChild => this.Export(ContainerXml.
FirstChild
);