[Mono-devel-list] Why is MissingMethodException thrown instead of DllNotFoundException?

Bernie Solomon bernard at ugsolutions.com
Thu Dec 18 17:51:14 EST 2003


I've noticed this too in the past and assume this is just a not implemented
yet...

I did have a patch that made this better but it is not in yet - I'll see if
I can resurrect it repost and then commit if everyone is OK.

There is also actually EntryPointNotFoundException as well if the DLL is
found but the symbol isn't. The patch generated this too.

Bernie

----- Original Message ----- 
From: "Mark Easton" <mark.easton at blinksoftware.co.uk>
To: <mono-devel-list at lists.ximian.com>
Sent: Thursday, December 18, 2003 11:09 AM
Subject: [Mono-devel-list] Why is MissingMethodException thrown instead of
DllNotFoundException?


> Can any kind soul help me to understand why Mono throws
> MissingMethodException when the DllImport attribute specifies a
> non-existant DLL?
>
>
>
> MS.NET throws DllNotFoundExceptions, which would seem to be right, so is
> there a good reason for Mono's behaviour or is it just an issue in need
> on cleansing?
>
>
>
> Cheers
>
>
>
> Mark
>
>




More information about the Mono-devel-list mailing list