37 references to SplayTreeNodeRole
PresentationFramework (37)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (27)
183
SplayTreeNodeRole
role;
205
if (role ==
SplayTreeNodeRole
.LocalRoot)
210
if (role ==
SplayTreeNodeRole
.RightChild)
236
SplayTreeNodeRole
role;
258
if (role ==
SplayTreeNodeRole
.LocalRoot)
263
if (role ==
SplayTreeNodeRole
.LeftChild)
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!");
624
SplayTreeNodeRole
nodeRole;
625
SplayTreeNodeRole
parentNodeRole;
634
if (nodeRole ==
SplayTreeNodeRole
.LocalRoot)
640
if (parentNodeRole ==
SplayTreeNodeRole
.LocalRoot)
651
if (nodeRole ==
SplayTreeNodeRole
.LeftChild)
678
if (nodeRole ==
SplayTreeNodeRole
.LeftChild)
702
if (nodeRole ==
SplayTreeNodeRole
.LeftChild)
716
Invariant.Assert(this.Role ==
SplayTreeNodeRole
.LocalRoot, "Splay didn't move node to root!");
779
internal
SplayTreeNodeRole
Role
784
SplayTreeNodeRole
role;
790
role =
SplayTreeNodeRole
.LocalRoot;
794
role =
SplayTreeNodeRole
.LeftChild;
799
role =
SplayTreeNodeRole
.RightChild;
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)