37 references to SplayTreeNodeRole
PresentationFramework (37)
System\Windows\Documents\SplayTreeNode.cs (27)
182SplayTreeNodeRole role; 204if (role == SplayTreeNodeRole.LocalRoot) 209if (role == SplayTreeNodeRole.RightChild) 235SplayTreeNodeRole role; 257if (role == SplayTreeNodeRole.LocalRoot) 262if (role == SplayTreeNodeRole.LeftChild) 419Invariant.Assert(location.Role == SplayTreeNodeRole.LocalRoot, "location should be local root!"); 443Invariant.Assert(this.Role == SplayTreeNodeRole.LocalRoot); 480Invariant.Assert(root.Role == SplayTreeNodeRole.LocalRoot); 517Invariant.Assert(maxNode.Role == SplayTreeNodeRole.LocalRoot); 531Invariant.Assert(maxNode.Role == SplayTreeNodeRole.LocalRoot); 549Invariant.Assert(this.Role == SplayTreeNodeRole.LocalRoot, "location should be local root!"); 623SplayTreeNodeRole nodeRole; 624SplayTreeNodeRole parentNodeRole; 633if (nodeRole == SplayTreeNodeRole.LocalRoot) 639if (parentNodeRole == SplayTreeNodeRole.LocalRoot) 650if (nodeRole == SplayTreeNodeRole.LeftChild) 677if (nodeRole == SplayTreeNodeRole.LeftChild) 701if (nodeRole == SplayTreeNodeRole.LeftChild) 715Invariant.Assert(this.Role == SplayTreeNodeRole.LocalRoot, "Splay didn't move node to root!"); 778internal SplayTreeNodeRole Role 783SplayTreeNodeRole role; 789role = SplayTreeNodeRole.LocalRoot; 793role = SplayTreeNodeRole.LeftChild; 798role = SplayTreeNodeRole.RightChild; 869if (this.Role == SplayTreeNodeRole.LeftChild) 934if (this.Role == SplayTreeNodeRole.LeftChild)
System\Windows\Documents\TextContainer.cs (9)
2696Invariant.Assert(leftSubTree.Role == SplayTreeNodeRole.LocalRoot); 2716Invariant.Assert(middleSubTree.Role == SplayTreeNodeRole.LocalRoot, "middleSubTree is not a local root!"); 2739Invariant.Assert(leftSubTree == null || leftSubTree.Role == SplayTreeNodeRole.LocalRoot); 2740Invariant.Assert(middleSubTree == null || middleSubTree.Role == SplayTreeNodeRole.LocalRoot); 2741Invariant.Assert(rightSubTree == null || rightSubTree.Role == SplayTreeNodeRole.LocalRoot); 2998Invariant.Assert(elementNode.Role == SplayTreeNodeRole.LocalRoot); 3055Invariant.Assert(previousNode.Role == SplayTreeNodeRole.LocalRoot); 3070Invariant.Assert(nextNode.Role == SplayTreeNodeRole.LocalRoot); 3151Invariant.Assert(clone.Role == SplayTreeNodeRole.LocalRoot);
System\Windows\Documents\TextPointer.cs (1)
2992if (searchNode.Role == SplayTreeNodeRole.LocalRoot)