1 instantiation of TextTreeRootNode
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3144
_rootNode = new
TextTreeRootNode
(this);
21 references to TextTreeRootNode
PresentationFramework (21)
System\Windows\Documents\TextContainer.cs (3)
1314
if (node is
TextTreeRootNode
|| node is TextTreeTextElementNode)
1917
internal
TextTreeRootNode
RootNode
3611
private
TextTreeRootNode
_rootNode;
System\Windows\Documents\TextPointer.cs (13)
579
Invariant.Assert(this.GetScopingNode() is
TextTreeRootNode
);
2635
if (scopingNode is
TextTreeRootNode
)
3167
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be TextTreeRootNode");
3209
if (!(containingNode is
TextTreeRootNode
))
3231
Invariant.Assert(newNode is
TextTreeRootNode
);
3312
if (!(containingNode is
TextTreeRootNode
))
3360
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be a TextTreeRootNode");
3400
Invariant.Assert(newNode is
TextTreeRootNode
);
3452
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
3466
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3498
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementStart;
3504
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
4146
if (_node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeDumper.cs (2)
150
if (node is
TextTreeRootNode
)
203
else if (node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeNode.cs (3)
283
return ((
TextTreeRootNode
)node).TextContainer;
310
parent = ((
TextTreeRootNode
)node).TextContainer.Parent; // This may be null.
353
logicalTreeNode = ((
TextTreeRootNode
)node).TextContainer.Parent;