[Mono-bugs] [Bug 438470] New: Calling Type. InvokeMember with a COM Object argument fails.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 23 15:21:06 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=438470


           Summary: Calling Type.InvokeMember with a COM Object argument
                    fails.
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: billholmes54 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=247609)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247609)
File to reproduce.

I am guessing that this bug is in the default binder.

Compile and run the attached files.
g++ -shared -fPIC -olibtestdll.so testdll.cpp
gmcs test.cs
mono test.exe

Expected Results:
71

Actual Results:

Unhandled Exception: System.MissingMethodException: The best match for method
CallMeMethod has some invalid parameter.
  at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object target, System.Object[] args,
System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] namedParameters)
[0x00000]
  at System.Type.InvokeMember (System.String name, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object target, System.Object[] args)
[0x00000]
  at Program.Main () [0x00000]


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