1 instantiation of TextTreeRootNode
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3193_rootNode = new TextTreeRootNode(this);
19 references to TextTreeRootNode
PresentationFramework (19)
src\Framework\System\Windows\Documents\TextContainer.cs (3)
1341if (node is TextTreeRootNode || node is TextTreeTextElementNode) 1944internal TextTreeRootNode RootNode 3660private TextTreeRootNode _rootNode;
src\Framework\System\Windows\Documents\TextPointer.cs (13)
596Invariant.Assert(this.GetScopingNode() is TextTreeRootNode); 2667if (scopingNode is TextTreeRootNode) 3199Invariant.Assert(currentNode is TextTreeRootNode, "currentNode is expected to be TextTreeRootNode"); 3241if (!(containingNode is TextTreeRootNode)) 3263Invariant.Assert(newNode is TextTreeRootNode); 3344if (!(containingNode is TextTreeRootNode)) 3392Invariant.Assert(currentNode is TextTreeRootNode, "currentNode is expected to be a TextTreeRootNode"); 3432Invariant.Assert(newNode is TextTreeRootNode); 3484Invariant.Assert(node.ParentNode != null || node is TextTreeRootNode, "Inconsistent node.ParentNode"); 3498symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementEnd; 3530symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementStart; 3536Invariant.Assert(node.ParentNode != null || node is TextTreeRootNode, "Inconsistent node.ParentNode"); 4178if (_node is TextTreeRootNode)
src\Framework\System\Windows\Documents\TextTreeNode.cs (3)
291return ((TextTreeRootNode)node).TextContainer; 318parent = ((TextTreeRootNode)node).TextContainer.Parent; // This may be null. 361logicalTreeNode = ((TextTreeRootNode)node).TextContainer.Parent;