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