25 references to Role
PresentationFramework (25)
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)
System\Windows\Documents\TextContainer.cs (9)
2701
Invariant.Assert(leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2721
Invariant.Assert(middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot, "middleSubTree is not a local root!");
2744
Invariant.Assert(leftSubTree == null || leftSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2745
Invariant.Assert(middleSubTree == null || middleSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
2746
Invariant.Assert(rightSubTree == null || rightSubTree.
Role
== SplayTreeNodeRole.LocalRoot);
3003
Invariant.Assert(elementNode.
Role
== SplayTreeNodeRole.LocalRoot);
3060
Invariant.Assert(previousNode.
Role
== SplayTreeNodeRole.LocalRoot);
3075
Invariant.Assert(nextNode.
Role
== SplayTreeNodeRole.LocalRoot);
3156
Invariant.Assert(clone.
Role
== SplayTreeNodeRole.LocalRoot);
System\Windows\Documents\TextPointer.cs (1)
2997
if (searchNode.
Role
== SplayTreeNodeRole.LocalRoot)