22 references to LocalRoot
PresentationFramework (22)
System\Windows\Documents\SplayTreeNode.cs (12)
203
if (role == SplayTreeNodeRole.
LocalRoot
)
253
if (role == SplayTreeNodeRole.
LocalRoot
)
412
Invariant.Assert(location.Role == SplayTreeNodeRole.
LocalRoot
, "location should be local root!");
433
Invariant.Assert(this.Role == SplayTreeNodeRole.
LocalRoot
);
458
Invariant.Assert(root.Role == SplayTreeNodeRole.
LocalRoot
);
492
Invariant.Assert(maxNode.Role == SplayTreeNodeRole.
LocalRoot
);
503
Invariant.Assert(maxNode.Role == SplayTreeNodeRole.
LocalRoot
);
521
Invariant.Assert(this.Role == SplayTreeNodeRole.
LocalRoot
, "location should be local root!");
605
if (nodeRole == SplayTreeNodeRole.
LocalRoot
)
611
if (parentNodeRole == SplayTreeNodeRole.
LocalRoot
)
687
Invariant.Assert(this.Role == SplayTreeNodeRole.
LocalRoot
, "Splay didn't move node to root!");
761
role = SplayTreeNodeRole.
LocalRoot
;
System\Windows\Documents\TextContainer.cs (9)
2671
Invariant.Assert(leftSubTree.Role == SplayTreeNodeRole.
LocalRoot
);
2691
Invariant.Assert(middleSubTree.Role == SplayTreeNodeRole.
LocalRoot
, "middleSubTree is not a local root!");
2711
Invariant.Assert(leftSubTree == null || leftSubTree.Role == SplayTreeNodeRole.
LocalRoot
);
2712
Invariant.Assert(middleSubTree == null || middleSubTree.Role == SplayTreeNodeRole.
LocalRoot
);
2713
Invariant.Assert(rightSubTree == null || rightSubTree.Role == SplayTreeNodeRole.
LocalRoot
);
2967
Invariant.Assert(elementNode.Role == SplayTreeNodeRole.
LocalRoot
);
3024
Invariant.Assert(previousNode.Role == SplayTreeNodeRole.
LocalRoot
);
3039
Invariant.Assert(nextNode.Role == SplayTreeNodeRole.
LocalRoot
);
3117
Invariant.Assert(clone.Role == SplayTreeNodeRole.
LocalRoot
);
System\Windows\Documents\TextPointer.cs (1)
2991
if (searchNode.Role == SplayTreeNodeRole.
LocalRoot
)