[Mono-bugs] [Bug 517855] Invoking methods via Reflection that have COM objects as parameters throws MissingMethodException in mono.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 1 10:50:13 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=517855

User tom_hindle at sil.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=517855#c2





--- Comment #2 from tom hindle <tom_hindle at sil.org>  2009-07-01 08:50:13 MDT ---
I think what needs to happen in SelectMethod is that if the Type is a
__ComObject then QueryInterface to see if it implements the ParameterType.

IE:
if (obj is InterfaceType)


Unfortunately it seems SelectMethod has the type information and not the
parameter instances and hence no access to obj to do the QueryInterface.

So Perhaps we could add an extra argument to SelectMethod passing the array of
args?

-- 
Configure bugmail: http://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