public void WriteStartRoot() {
Debug.Assert(this.depth == 0, "Root node can only be constructed at top-level.");
if (this.xstate != XmlState.WithinSequence)
ThrowInvalidStateError(XPathNodeType.Root);
StartTree(XPathNodeType.Root);
this.depth++;
}