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