[Mono-bugs] [Bug 684737] New: 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 08:20:39 EDT 2011


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

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


           Summary: Using the generic type System.Func<T1, T2, T3, T4, T5,
                    T6, T7, T8, T9, TResult> requires 10 type argument(s)
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: abatishchev at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101
Firefox/4.0

I have a console app which builds and runs under Windows fine.

But when I’m trying to build it under Mono, I’m getting the error:

error CS0305: Using the generic type
`System.Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>' requires `10' type
argument(s)
/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
(Location of the symbol related to previous error)

Real source code and full xbuild output attached.




Reproducible: Always

Steps to Reproduce:
1a. Create dummy classes for those which used in the source
1b. Or download MetaTraderApi trial from http://www.mt4api.net/download
2. Compile
Actual Results:  
Compiler error CS0305

Expected Results:  
Compiles fine

Mono JIT compiler version 2.11 (master/111b078 Sat Apr  2 15:14:15 MSD 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)

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