16 writes to Left
System.Collections (16)
System\Collections\Generic\SortedSet.cs (16)
364parent.Left = node; 678parentOfSuccessor.Left = successor.Right; 682successor.Left = match.Left; 948root.Left = redNode; 957root.Left = redNode; 962root.Left = new Node(arr[startIndex], NodeColor.Black); 966root.Left.Left = redNode; 972root.Left = ConstructRootFromSortedArray(arr, startIndex, midpt - 1, redNode); 1642next.target.Left = clonedNode; 1733child.Left = this; 1745Left = grandChild.Right; 1748grandChild.Left = child; 1758Left = child.Right; 1772grandChild.Left = this; 1773child.Left = grandChild.Right; 1806Left = newChild;
56 references to Left
System.Collections (56)
System\Collections\Generic\SortedSet.cs (48)
200current = current.Left; 215node = node.Left; 249if (current.Left != null) 251processQueue.Enqueue(current.Left); 352current = (order < 0) ? current.Left : current.Right; 486current = order < 0 ? current.Left : current.Right; 665successor = match.Left!; 670Debug.Assert(successor.Left == null); 682successor.Left = match.Left; 701current = order < 0 ? current.Left : current.Right; 733current = order < 0 ? current.Left : current.Right; 755current = current.Left; 966root.Left.Left = redNode; 1469while (current.Left != null) 1471current = current.Left; 1617public bool Is2Node => IsBlack && IsNullOrBlack(Left) && IsNullOrBlack(Right); 1619public bool Is4Node => IsNonNullRed(Left) && IsNonNullRed(Right); 1639if (next.source.Left is Node left) 1662Debug.Assert(IsNonNullRed(sibling.Left) || IsNonNullRed(sibling.Right)); 1667bool currentIsLeftChild = Left == current; 1668return IsNonNullRed(sibling.Left) ? 1679Debug.Assert(node == Left ^ node == Right); 1681return node == Left ? Right! : Left!; 1688Debug.Assert(Left != null); 1692Left.ColorBlack(); 1705removeRed = Left!.Left!; 1715Debug.Assert(Right!.Left!.IsRed); 1718Debug.Assert(Left!.Right!.IsRed); 1732Right = child.Left; 1742Node child = Left!; 1747child.Right = grandChild.Left; 1757Node child = Left!; 1769Node grandChild = child.Left!; 1771Right = grandChild.Left; 1784Debug.Assert(Left!.Is2Node); 1789Left.ColorRed(); 1804if (Left == child) 1815private int GetCount() => 1 + (Left?.GetCount() ?? 0) + (Right?.GetCount() ?? 0); 1817private bool HasChild(Node child) => child == Left || child == Right; 1823return (Left == child1 && Right == child2) 1824|| (Left == child2 && Right == child1); 1875next = (_reverse ? node.Right : node.Left); 1876other = (_reverse ? node.Left : node.Right); 1910Node? node = (_reverse ? _current.Left : _current.Right); 1914next = (_reverse ? node.Right : node.Left); 1915other = (_reverse ? node.Left : node.Right);
System\Collections\Generic\SortedSet.TreeSubSet.cs (8)
147current = current.Left; 168current = current.Left; 203current = current.Left; 211current = current.Left; 229node = node.Left; 237node = node.Left; 264if (current.Left != null && (!_lBoundActive || Comparer.Compare(_min, current.Item) < 0)) 266processQueue.Enqueue(current.Left);