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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=349190#c4


Marek Safar <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
          Component|C#                                              |generics
            Product|Mono: Compilers                                 |Mono: 
Runtime




--- Comment #4 from Marek Safar <[EMAIL PROTECTED]>  2008-06-19 12:29:36 MDT ---
Compiler part is now fixed but SRE emits for some strange reason wrong "ldftn"
call signature.

Also this is not caught by Mono Verifier


This is EXPECTED NaturalSort<T>:

  IL_0000:  ldarg.0
  IL_0001:  ldnull
  IL_0002:  ldftn      !!0
Mono.Rocks.IEnumerable::'<NaturalSort>m__2'<!!0>(!!0)


This is ACTUAL:
  IL_0000:  ldarg.0
  IL_0001:  ldnull
  IL_0002:  ldftn      !!0 Mono.Rocks.IEnumerable::'<NaturalSort>m__2'(!!0)


Here is a log from gmcs where ldftn is emitted

Mono.Rocks.IEnumerable.<NaturalSort>m__2<T>(T)
IsGenericMethod: True
IsGenericMethodDefinition: True
GetType: System.Reflection.Emit.MethodBuilder


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to