4 writes to Left
System.Speech (4)
Internal\RBList.cs (4)
199node.Parent.Left = newNode; 216newNode.Left = node; 223node.Left = newNode.Right; 295node.Left = InsertNode(node.Left, newNode);
37 references to Left
System.Speech (37)
Internal\RBList.cs (37)
61if (_root.Left != null) 63_root = FindRoot(_root.Left); 101return _root != null && _root.Left == null && _root.Right == null; 109return _root != null && (_root.Right != null || _root.Left != null); 142if (node.Parent == node.Parent.Parent.Left) 148return node.Parent.Parent.Left; 154if (node == parent.Left) 160return parent.Left; 197else if (node.Parent.Left == node) 214node.Right = newNode.Left; 222TreeNode newNode = node.Left!; 232while (node.Left != null) 234node = node.Left; 243while (node.Parent != null && node.Parent.Left != node) 261TakeParent(node, node.Left); 265else if (node.Left == null) 274Debug.Assert(successor != null && successor.Left == null); 295node.Left = InsertNode(node.Left, newNode); 321return TryFindItem(node.Left, key, out item); 388if (node == node.Parent.Right && node.Parent == node.Parent.Parent!.Left) 391node = node.Left!; 393else if (node == node.Parent.Left && node.Parent == node.Parent.Parent!.Right) 409if (node == node.Parent.Left) 411Debug.Assert(node.Parent == node.Parent.Parent!.Left); // From case 3 424Debug.Assert(node.Left == null || node.Right == null); 426TreeNode? onlyChild = node.Left ?? node.Right; 429Debug.Assert(node.Parent == null || node.Parent.Left == onlyChild || node.Parent.Right == onlyChild); 477Debug.Assert(sibling.Left != null && sibling.Right != null); 493sibling = parent.Left!; 505IsBlack(sibling.Left) && 521IsBlack(sibling.Left) && 537GetColor(sibling.Left) == NodeColor.RED && 541SetColor(sibling.Left, NodeColor.BLACK); 545else if (sibling == sibling.Parent.Left && 548GetColor(sibling.Left) == NodeColor.BLACK) 572Debug.Assert(GetColor(sibling.Left) == NodeColor.RED); 573SetColor(sibling.Left, NodeColor.BLACK);