1 instantiation of TextTreeRootNode
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3172
_rootNode = new
TextTreeRootNode
(this);
21 references to TextTreeRootNode
PresentationFramework (21)
System\Windows\Documents\TextContainer.cs (3)
1321
if (node is
TextTreeRootNode
|| node is TextTreeTextElementNode)
1924
internal
TextTreeRootNode
RootNode
3639
private
TextTreeRootNode
_rootNode;
System\Windows\Documents\TextPointer.cs (13)
580
Invariant.Assert(this.GetScopingNode() is
TextTreeRootNode
);
2636
if (scopingNode is
TextTreeRootNode
)
3168
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be TextTreeRootNode");
3210
if (!(containingNode is
TextTreeRootNode
))
3232
Invariant.Assert(newNode is
TextTreeRootNode
);
3313
if (!(containingNode is
TextTreeRootNode
))
3361
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be a TextTreeRootNode");
3401
Invariant.Assert(newNode is
TextTreeRootNode
);
3453
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
3467
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3499
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementStart;
3505
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
4147
if (_node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeDumper.cs (2)
151
if (node is
TextTreeRootNode
)
204
else if (node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeNode.cs (3)
284
return ((
TextTreeRootNode
)node).TextContainer;
311
parent = ((
TextTreeRootNode
)node).TextContainer.Parent; // This may be null.
354
logicalTreeNode = ((
TextTreeRootNode
)node).TextContainer.Parent;