22 references to LocalRoot
PresentationFramework (22)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (12)
205
if (role == SplayTreeNodeRole.
LocalRoot
)
258
if (role == SplayTreeNodeRole.
LocalRoot
)
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!");
634
if (nodeRole == SplayTreeNodeRole.
LocalRoot
)
640
if (parentNodeRole == SplayTreeNodeRole.
LocalRoot
)
716
Invariant.Assert(this.Role == SplayTreeNodeRole.
LocalRoot
, "Splay didn't move node to root!");
790
role = SplayTreeNodeRole.
LocalRoot
;
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
)