public override bool MoveToFirstAttribute() { if (_current == null) { throw new InvalidOperationException(SR.OperationInvalidOnAnEmptyDocument); } bool retval = _current.MoveToFirstAttribute(); if (retval) { _state = XPathNodeType.Attribute; } return(retval); }