public void ExceptionTest(bool throwException) { try { InternalExceptionTest(throwException); Test_try_finally_struct02.Eval(!throwException); } catch { Test_try_finally_struct02.Eval(throwException); } }
public void InternalExceptionTest(bool throwException) { string ExceptionClass = typeof(GenException <T>).ToString(); try { if (throwException) { throw new GenException <T>(); } Test_try_finally_struct02.Eval(!throwException); } finally { Test_try_finally_struct02.Eval(true); } Test_try_finally_struct02.Eval(!throwException); }