25 references to Role
PresentationFramework (25)
System\Windows\Documents\SplayTreeNode.cs (15)
200
role = this.
Role
;
212
role = previousNode.
Role
;
253
role = this.
Role
;
265
role = nextNode.
Role
;
419
Invariant.Assert(location.
Role
== SplayTreeNodeRole.LocalRoot, "location should be local root!");
443
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot);
480
Invariant.Assert(root.
Role
== SplayTreeNodeRole.LocalRoot);
517
Invariant.Assert(maxNode.
Role
== SplayTreeNodeRole.LocalRoot);
531
Invariant.Assert(maxNode.
Role
== SplayTreeNodeRole.LocalRoot);
549
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot, "location should be local root!");
630
nodeRole = node.
Role
;
637
parentNodeRole = parentNode.
Role
;
715
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot, "Splay didn't move node to root!");
869
if (this.
Role
== SplayTreeNodeRole.LeftChild)
934
if (this.
Role
== SplayTreeNodeRole.LeftChild)
System\Windows\Documents\TextContainer.cs (9)
2696
Invariant.Assert(leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2716
Invariant.Assert(middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot, "middleSubTree is not a local root!");
2739
Invariant.Assert(leftSubTree == null || leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2740
Invariant.Assert(middleSubTree == null || middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2741
Invariant.Assert(rightSubTree == null || rightSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2998
Invariant.Assert(elementNode.
Role
== SplayTreeNodeRole.LocalRoot);
3055
Invariant.Assert(previousNode.
Role
== SplayTreeNodeRole.LocalRoot);
3070
Invariant.Assert(nextNode.
Role
== SplayTreeNodeRole.LocalRoot);
3151
Invariant.Assert(clone.
Role
== SplayTreeNodeRole.LocalRoot);
System\Windows\Documents\TextPointer.cs (1)
2992
if (searchNode.
Role
== SplayTreeNodeRole.LocalRoot)