4 writes to LastChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (4)
166
LastChild
= child;
324
LastChild
= child.PreviousSibling;
403
LastChild
= child;
666
LastChild
= child;
17 references to LastChild
Microsoft.Build (17)
Construction\ProjectChooseElement.cs (1)
72
ProjectOtherwiseElement otherwise =
LastChild
as ProjectOtherwiseElement;
Construction\ProjectElementContainer.cs (13)
103
get =>
LastChild
== null
105
: new Collections.ReadOnlyCollection<ProjectElement>(new ProjectElementSiblingEnumerable(
LastChild
, forwards: false));
110
=>
LastChild
== null
112
: new ProjectElementSiblingSubTypeCollection<T>(
LastChild
, forwards: false);
164
if (
LastChild
== reference)
250
if (
LastChild
== null)
257
InsertAfterChild(child,
LastChild
);
275
Assumed.NotNull(
LastChild
, "Invalid structure");
322
if (ReferenceEquals(child,
LastChild
))
393
if (
LastChild
== null)
399
child.PreviousSibling =
LastChild
;
400
LastChild
.NextSibling = child;
651
Assumed.True(FirstChild == null &&
LastChild
== null, "Expecting no children");
Construction\ProjectItemGroupElement.cs (1)
107
ProjectElement reference =
LastChild
;
Construction\ProjectUsingTaskElement.cs (1)
152
ProjectUsingTaskBodyElement body =
LastChild
as ProjectUsingTaskBodyElement;
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
25
/// Access to remote <see cref="ProjectElementContainer.
LastChild
"/>.