public override bool MoveTo(XPathNavigator other) {
DocumentXPathNavigator that = other as DocumentXPathNavigator;
if (that != null
&& document == that.document) {
source = that.source;
attributeIndex = that.attributeIndex;
namespaceParent = that.namespaceParent;
return true;
}
return false;
}