[Mono-bugs] [Bug 356865] New: Extension methods with variable (params) arguments don' t work when compiled into a dll

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 28 22:15:26 EST 2008


           Summary: Extension methods with variable (params) arguments don't
                    work when compiled into a dll
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: apenwarr at versabanq.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner

Created an attachment (id=192094)
 --> (https://bugzilla.novell.com/attachment.cgi?id=192094)
Source code for test

In the attached trivial source code, building the dll separately and then using
it during compilation of a .exe file doesn't work; compiling the .cs file as
part of the .exe build process, and skipping the dll step, does work.

Microsoft csc (3.5) has no problem with this.

When compiled with Microsoft csc, the mono 1.2.6 interpreter can still run it.

If the extension method doesn't use "params" arguments, it compiles fine in

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