private void OnUnexpectedError() { Debug.Assert(false, "This is an unexpected error that should have been handled in the ScanXXX methods."); Throw(_curPos, SR.Xml_InternalError); }