[Mono-bugs] [Bug 361689] [PATCH] [SRE] Mono allows overriding a virtual method with a non-virtual override
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 3 20:21:52 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=361689
User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361689#c7
--- Comment #7 from Zoltan Varga <vargaz at gmail.com> 2008-03-03 18:21:51 MST ---
Btw, nunit has an ExpectedException attribute for this purpose, i.e:
[ExpectedException (typeof (TypeLoadException))]
public void CreateTypeFailsWithInvalidMethodOverride ()
so the try+catch+assert is not needed.
--
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.
More information about the mono-bugs
mailing list