25 references to Role
PresentationFramework (25)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (15)
201
role = this.
Role
;
213
role = previousNode.
Role
;
254
role = this.
Role
;
266
role = nextNode.
Role
;
420
Invariant.Assert(location.
Role
== SplayTreeNodeRole.LocalRoot, "location should be local root!");
444
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot);
481
Invariant.Assert(root.
Role
== SplayTreeNodeRole.LocalRoot);
518
Invariant.Assert(maxNode.
Role
== SplayTreeNodeRole.LocalRoot);
532
Invariant.Assert(maxNode.
Role
== SplayTreeNodeRole.LocalRoot);
550
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot, "location should be local root!");
631
nodeRole = node.
Role
;
638
parentNodeRole = parentNode.
Role
;
716
Invariant.Assert(this.
Role
== SplayTreeNodeRole.LocalRoot, "Splay didn't move node to root!");
870
if (this.
Role
== SplayTreeNodeRole.LeftChild)
935
if (this.
Role
== SplayTreeNodeRole.LeftChild)
src\Framework\System\Windows\Documents\TextContainer.cs (9)
2716
Invariant.Assert(leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2736
Invariant.Assert(middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot, "middleSubTree is not a local root!");
2759
Invariant.Assert(leftSubTree == null || leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2760
Invariant.Assert(middleSubTree == null || middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2761
Invariant.Assert(rightSubTree == null || rightSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
3019
Invariant.Assert(elementNode.
Role
== SplayTreeNodeRole.LocalRoot);
3076
Invariant.Assert(previousNode.
Role
== SplayTreeNodeRole.LocalRoot);
3091
Invariant.Assert(nextNode.
Role
== SplayTreeNodeRole.LocalRoot);
3172
Invariant.Assert(clone.
Role
== SplayTreeNodeRole.LocalRoot);
src\Framework\System\Windows\Documents\TextPointer.cs (1)
3023
if (searchNode.
Role
== SplayTreeNodeRole.LocalRoot)