[Mono-bugs] [Bug 483113] Monitor.Exit does not throw SynchronizationLockException if object is not locked.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 9 06:11:51 EDT 2009
https://bugzilla.novell.com/show_bug.cgi?id=483113
User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=483113#c2
Zoltan Varga <vargaz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vargaz at gmail.com
--- Comment #2 from Zoltan Varga <vargaz at gmail.com> 2009-03-09 04:11:50 MST ---
Its not that easy, net for example allows this:
[MethodImplAttribute(MethodImplOptions.Synchronized)]
public int test_exception () {
Monitor.Exit (this);
throw new Exception ("A");
return 0;
}
This will throw Exception, not SynchronizationLockException.
--
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