25 references to Role
PresentationFramework (25)
System\Windows\Documents\SplayTreeNode.cs (15)
200role = this.Role; 212role = previousNode.Role; 253role = this.Role; 265role = nextNode.Role; 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!"); 630nodeRole = node.Role; 637parentNodeRole = parentNode.Role; 715Invariant.Assert(this.Role == SplayTreeNodeRole.LocalRoot, "Splay didn't move node to root!"); 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)