2006-12-11 Miguel de Icaza <miguel@novell.com>
commit24f79898c50be7369de5d7403c8a25db897513dd
authorMiguel de Icaza <miguel@gnome.org>
Tue, 12 Dec 2006 00:40:52 +0000 (12 00:40 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 12 Dec 2006 00:40:52 +0000 (12 00:40 -0000)
treeb33d06ce058d5399a2615c87bb9cd3df22a2b54f
parentbd74a116ba60ace0ba42da1e32faf07babab4fc5
2006-12-11  Miguel de Icaza  <miguel@novell.com>

* SafeHandle.cs: Fix a handful of bugs, and add tests for them.
Only release the handle if its owned by us.  Also throw
ObjectDisposedException's

svn path=/trunk/mcs/; revision=69378
mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
mcs/class/corlib/System.Runtime.InteropServices/SafeHandle.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/SafeHandleTest.cs [new file with mode: 0644]
mcs/class/corlib/corlib_test.dll.sources