[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


User vargaz at gmail.com added comment

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:

    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