Apply patch from Tom Hindle for bug 496138 plus test case.
authorJonathan Chambers <joncham@gmail.com>
Thu, 30 Apr 2009 01:40:52 +0000 (01:40 -0000)
committerJonathan Chambers <joncham@gmail.com>
Thu, 30 Apr 2009 01:40:52 +0000 (01:40 -0000)
commit11e576a69fbd6f29af3b6179161ec56ae41a0e9c
tree6fbede494a9ca2e535d6f7e98dd9f9c4cd92c5e0
parentae9ca89d49740c4970663287cb13da6c8c283db4
Apply patch from Tom Hindle for bug 496138 plus test case.

2009-04-29 Tom Hindle <tom_hindle@sil.org>

* Marshal.cs: Improved GetExceptionForHR to return real
C# exceptions in certain cases instead of always COMException.

svn path=/trunk/mcs/; revision=133150
mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/ChangeLog
mcs/class/corlib/Test/System.Runtime.InteropServices/MarshalTest.cs