[Mono-bugs] [Bug 684737] Using the generic type System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> requires 10 type argument(s)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 2 15:26:43 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=684737#c2


Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jpryor at novell.com
         Resolution|                            |INVALID

--- Comment #2 from Jonathan Pryor <jpryor at novell.com> 2011-04-02 19:26:43 UTC ---
You're using gmcs, as can be seen in xbuild-output:

    Tool /usr/bin/gmcs execution started with arguments: /noconfig /debug:full
..

The problem is that gmcs targets the .NET 2.0/3.5 profiles, and in .NET 3.5
System.Func<...> only supports up to 8 parameters, not 16:

    http://msdn.microsoft.com/en-us/library/dd386894.aspx#versionsTitleToggle

    Version Information:
    Supported in: 4

Since you want a .NET 4.0 type, you need to use the .NET 4.0 compiler, dmcs.
There should be some way to configure this in your .csproj...

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list