protected void ExitScope() { if (_depth == 0) XmlExceptionHelper.ThrowUnexpectedEndElement(this); _depth--; _nsMgr.ExitScope(); }