https://bugzilla.novell.com/show_bug.cgi?id=363799


           Summary: Mono ignores a try/catch block
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Mono ignore the try/catch of the attached test.

The C# code looks like:

Foo () {
  MethodThatDoesntExist(); //method doesn't exist
}

Main () {
 try {
   Foo();
 } catch (Exception e) {
  if (e instanceof MethodMissingException)
   return 0;
 }
 return 1;
}

Mono ignores the try/catch in Main and terminates with an unhandled
MethodMissingException.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to