[Mono-bugs] [Bug 340662] test-562.cs failure

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 7 19:22:47 EST 2008


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

User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340662#c1


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |rkumpera at novell.com




--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com>  2008-03-07 17:22:46 MST ---
The issue is that the the runtime merge pinvoke call convention with the
signature one.

The MS runtime returns the method signature one. And this is what's missing in
mono.

I build a test case for standard, vararg and generic calling conventions. I'm
not sure how to build tests for fastcall, stdcall or cdecl as all my tries
failed with a TypeLoadException about signature. Why something like the
following is invalid?

method private static  hidebysig unmanaged cdecl int32 CCallConv (int32 x) 
cil 
{
  .maxstack 8
  ldarg.0 
  ret 
}


-- 
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