Properly convert COM error codes to C# exceptions
authorEberhard Beilharz <eb1@sil.org>
Wed, 12 Mar 2014 17:58:24 +0000 (18:58 +0100)
committerEberhard Beilharz <eb1@sil.org>
Thu, 13 Mar 2014 17:53:57 +0000 (18:53 +0100)
commit554d6abf4c5f3760b4f16973f604cfeb9424329a
tree06e1ba3d3827d977c4f90d1a6a49712b55a2448e
parent3d23503a90595160703ed3593dac763000b18745
Properly convert COM error codes to C# exceptions

Also use additional information provided by IErrorInfo to fill in
exception details.

To make use of IErrorInfo on Linux a suitable implementation has to be
provided, e.g. by including libcom plus adding a mapping from
oleauth32.dll to the shared library that provides the implementation.

This completes mono bug 496138
(https://bugzilla.novell.com/show_bug.cgi?id=496138)
mcs/class/corlib/System.Runtime.InteropServices/IErrorInfo.cs [new file with mode: 0644]
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
mcs/class/corlib/corlib.dll.sources