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