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

           Summary: ILASM think methods with diferent signature are the same
           Product: Mono: Compilers
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: IL assembler
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Created an attachment (id=176587)
 --> (https://bugzilla.novell.com/attachment.cgi?id=176587)
Sample test

I have a class with the following constructors:

method public hidebysig  specialname  rtspecialname instance default void
ctor ()  cil managed 

method public hidebysig  specialname  rtspecialname instance default void
ctor (method int32 *(int32) tp)  cil managed 

And ilasm fails with:

ilasm_bug.il (28, 3) : Error : Duplicate method declaration: System.Void
ctor()


The file compiles fine under .net.

It only happens due with a method pointer type as first parameter.


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