17 writes to Left
System (17)
compmod\system\collections\generic\sortedset.cs (17)
139myCurrent.Left = (theirCurrent.Left != null ? new SortedSet<T>.Node(theirCurrent.Left.Item, theirCurrent.Left.IsRed) : null); 156myRight.Left = (theirRight.Left != null ? new SortedSet<T>.Node(theirRight.Left.Item, theirRight.Left.IsRed) : null); 410parent.Left = node; 743parent.Left = newChild; 766parentOfSuccesor.Left = succesor.Right; 770succesor.Left = match.Left; 843x.Left = node; 851node.Left = grandChild.Right; 854grandChild.Left = child; 860node.Left = x.Right; 870grandChild.Left = node; 871child.Left = grandChild.Right; 1082root.Left = redNode; 1089root.Left = redNode; 1093root.Left = new Node(arr[startIndex], false); 1096root.Left.Left = redNode; 1102root.Left = ConstructRootFromSortedArray(arr, startIndex, midpt - 1, redNode);
59 references to Left
System (59)
compmod\system\collections\generic\sortedset.cs (59)
139myCurrent.Left = (theirCurrent.Left != null ? new SortedSet<T>.Node(theirCurrent.Left.Item, theirCurrent.Left.IsRed) : null); 140theirCurrent = theirCurrent.Left; 141myCurrent = myCurrent.Left; 156myRight.Left = (theirRight.Left != null ? new SortedSet<T>.Node(theirRight.Left.Item, theirRight.Left.IsRed) : null); 157theirRight = theirRight.Left; 158myRight = myRight.Left; 239current = (reverse ? current.Right : current.Left); 247Node node = (reverse ? current.Left : current.Right); 250node = (reverse ? node.Right : node.Left); 279if (current.Left != null) { 280processQueue.Add(current.Left); 401current = (order < 0) ? current.Left : current.Right; 486sibling = (parent.Left == current) ? parent.Right : parent.Left; 499Debug.Assert(parent.Left == sibling, "sibling must be left child of parent!"); 500Debug.Assert(sibling.Left.IsRed, "Left child of sibling must be red!"); 501sibling.Left.IsRed = false; 513Debug.Assert(sibling.Left.IsRed, "Left child of sibling must be red!"); 518Debug.Assert(parent.Left == sibling, "sibling must be left child of parent!"); 549current = current.Left; 678if (parent.Left == node) { 681return parent.Left; 711return IsBlack(node) && IsNullOrBlack(node.Left) && IsNullOrBlack(node.Right); 715return IsRed(node.Left) && IsRed(node.Right); 742if (parent.Left == child) { 756succesor = match.Left; 759Debug.Assert(succesor.Left == null, "Left child of succesor must be null!"); 770succesor.Left = match.Left; 788current = (order < 0) ? current.Left : current.Right; 806current = (order < 0) ? current.Left : current.Right; 825current = current.Left; 842node.Right = x.Left; 848Node child = node.Left; 853child.Right = grandChild.Left; 859Node x = node.Left; 867Node grandChild = child.Left; 869node.Right = grandChild.Left; 881Debug.Assert(IsRed(sibling.Left) || IsRed(sibling.Right), "sibling must have at least one red child"); 882if (IsRed(sibling.Left)) { 883if (parent.Left == current) { 888if (parent.Left == current) { 958node.Left.IsRed = false; 1096root.Left.Left = redNode; 1862current = (reverse ? current.Right : current.Left); 1866current = current.Left; 1876Node node = (reverse ? current.Left : current.Right); 1880node = (reverse ? node.Right : node.Left); 1884node = node.Left; 1908if (current.Left != null && (!lBoundActive || Comparer.Compare(min, current.Item) < 0)) { 1909processQueue.Add(current.Left); 2267next = (reverse ? node.Right : node.Left); 2268other = (reverse ? node.Left : node.Right); 2296SortedSet<T>.Node node = (reverse ? current.Left : current.Right); 2299next = (reverse ? node.Right : node.Left); 2300other = (reverse ? node.Left : node.Right);