16 writes to Left
System.Collections (16)
System\Collections\Generic\SortedSet.cs (16)
364parent.Left = node; 678parentOfSuccessor.Left = successor.Right; 682successor.Left = match.Left; 951root.Left = redNode; 960root.Left = redNode; 965root.Left = new Node(arr[startIndex], NodeColor.Black); 969root.Left.Left = redNode; 975root.Left = ConstructRootFromSortedArray(arr, startIndex, midpt - 1, redNode); 1645next.target.Left = clonedNode; 1736child.Left = this; 1748Left = grandChild.Right; 1751grandChild.Left = child; 1761Left = child.Right; 1775grandChild.Left = this; 1776child.Left = grandChild.Right; 1809Left = 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; 704current = order < 0 ? current.Left : current.Right; 736current = order < 0 ? current.Left : current.Right; 758current = current.Left; 969root.Left.Left = redNode; 1472while (current.Left != null) 1474current = current.Left; 1620public bool Is2Node => IsBlack && IsNullOrBlack(Left) && IsNullOrBlack(Right); 1622public bool Is4Node => IsNonNullRed(Left) && IsNonNullRed(Right); 1642if (next.source.Left is Node left) 1665Debug.Assert(IsNonNullRed(sibling.Left) || IsNonNullRed(sibling.Right)); 1670bool currentIsLeftChild = Left == current; 1671return IsNonNullRed(sibling.Left) ? 1682Debug.Assert(node == Left ^ node == Right); 1684return node == Left ? Right! : Left!; 1691Debug.Assert(Left != null); 1695Left.ColorBlack(); 1708removeRed = Left!.Left!; 1718Debug.Assert(Right!.Left!.IsRed); 1721Debug.Assert(Left!.Right!.IsRed); 1735Right = child.Left; 1745Node child = Left!; 1750child.Right = grandChild.Left; 1760Node child = Left!; 1772Node grandChild = child.Left!; 1774Right = grandChild.Left; 1787Debug.Assert(Left!.Is2Node); 1792Left.ColorRed(); 1807if (Left == child) 1818private int GetCount() => 1 + (Left?.GetCount() ?? 0) + (Right?.GetCount() ?? 0); 1820private bool HasChild(Node child) => child == Left || child == Right; 1826return (Left == child1 && Right == child2) 1827|| (Left == child2 && Right == child1); 1878next = (_reverse ? node.Right : node.Left); 1879other = (_reverse ? node.Left : node.Right); 1913Node? node = (_reverse ? _current.Left : _current.Right); 1917next = (_reverse ? node.Right : node.Left); 1918other = (_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);