1 instantiation of TextTreeRootNode
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3177_rootNode = new TextTreeRootNode(this);
21 references to TextTreeRootNode
PresentationFramework (21)
System\Windows\Documents\TextContainer.cs (3)
1326if (node is TextTreeRootNode || node is TextTreeTextElementNode) 1929internal TextTreeRootNode RootNode 3644private TextTreeRootNode _rootNode;
System\Windows\Documents\TextPointer.cs (13)
585Invariant.Assert(this.GetScopingNode() is TextTreeRootNode); 2641if (scopingNode is TextTreeRootNode) 3173Invariant.Assert(currentNode is TextTreeRootNode, "currentNode is expected to be TextTreeRootNode"); 3215if (!(containingNode is TextTreeRootNode)) 3237Invariant.Assert(newNode is TextTreeRootNode); 3318if (!(containingNode is TextTreeRootNode)) 3366Invariant.Assert(currentNode is TextTreeRootNode, "currentNode is expected to be a TextTreeRootNode"); 3406Invariant.Assert(newNode is TextTreeRootNode); 3458Invariant.Assert(node.ParentNode != null || node is TextTreeRootNode, "Inconsistent node.ParentNode"); 3472symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementEnd; 3504symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementStart; 3510Invariant.Assert(node.ParentNode != null || node is TextTreeRootNode, "Inconsistent node.ParentNode"); 4152if (_node is TextTreeRootNode)
System\Windows\Documents\TextTreeDumper.cs (2)
154if (node is TextTreeRootNode) 207else if (node is TextTreeRootNode)
System\Windows\Documents\TextTreeNode.cs (3)
285return ((TextTreeRootNode)node).TextContainer; 312parent = ((TextTreeRootNode)node).TextContainer.Parent; // This may be null. 355logicalTreeNode = ((TextTreeRootNode)node).TextContainer.Parent;