4 writes to LastChild
Microsoft.Build (4)
Construction\ProjectElementContainer.cs (4)
166
LastChild
= child;
324
LastChild
= child.PreviousSibling;
403
LastChild
= child;
657
LastChild
= child;
21 references to LastChild
Microsoft.Build (17)
Construction\ProjectChooseElement.cs (1)
71
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
ErrorUtilities.VerifyThrow(
LastChild
!= null, "Invalid structure");
322
if (ReferenceEquals(child,
LastChild
))
393
if (
LastChild
== null)
399
child.PreviousSibling =
LastChild
;
400
LastChild
.NextSibling = child;
642
ErrorUtilities.VerifyThrow(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)
27
/// Access to remote <see cref="ProjectElementContainer.
LastChild
"/>.
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
428
VerifyNotLinked(realXml.
LastChild
);
429
VerifyLinked(viewXml.
LastChild
);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
19
public MockProjectElementLinkRemoter LastChild => this.Export(ContainerXml.
LastChild
);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Preprocessor_Tests.cs (1)
667
xml1.
LastChild
.Condition = "false";