public override bool IsSamePosition(XPathNavigator other) { if (other is SimpleWrapperNavigator) { return _innerNavigator.IsSamePosition((other as SimpleWrapperNavigator)._innerNavigator); } else { return _innerNavigator.IsSamePosition(other); } }