public override bool IsSamePosition(XPathNavigator other)
{
if (other != null)
{
DataDocumentXPathNavigator otherDataDocXPathNav = other as DataDocumentXPathNavigator;
if (otherDataDocXPathNav != null &&
_doc == otherDataDocXPathNav.Document && _curNode.IsSamePosition(otherDataDocXPathNav.CurNode))
{
return true;
}
}
return false;
}