14 writes to root
System (14)
compmod\system\collections\generic\sortedset.cs (14)
125root = null; 135root = myCurrent; 173root = ConstructRootFromSortedArray(els.ToArray(), 0, els.Count - 1, null); 359root = new Node(item, false); 568root = null; 748root = newChild; 998this.root = dummy.root; 1037root = null; 1040root = SortedSet<T>.ConstructRootFromSortedArray(merged, 0, c - 1, null); 1165root = null; 1167root = SortedSet<T>.ConstructRootFromSortedArray(merged, 0, c - 1, null); 1752root = underlying.FindRange(min, max, lBoundActive, uBoundActive); // root is first element within range 1829root = null; 1955this.root = underlying.FindRange(min, max, lBoundActive, uBoundActive);
23 references to root
System (23)
compmod\system\collections\generic\sortedset.cs (23)
133Node theirCurrent = baseSortedSet.root; 227if (root == null) { 236Node current = root; 265if (root == null) { 270processQueue.Add(root); 358if (root == null) { // empty tree 370Node current = root; 386root.IsRed = false; 419root.IsRed = false; 435if (root == null) { 452Node current = root; 561if (root != null) { 562root.IsRed = false; 782Node current = root; 799Node current = root; 819Node current = root; 998this.root = dummy.root; 1851if (root == null) { 1858Node current = root; 1894if (root == null) { 1899processQueue.Add(root); 2085if (root != null) { 2264SortedSet<T>.Node node = tree.root;