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

Marek Safar marek.safar at gmail.com
Sat Apr 2 07:39:11 EDT 2011


Hello,

Please fill a bug report and provide full xbuild output.

Thanks
Marek
>
> 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 next errors:
>
> godfather at debian: $ xbuild MyProject.sln
>
> Indicator/ADXReader.cs(71,42): 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)
>
> Indicator/ADXReader.cs(75,46): 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)
>
> while in code I have just such lines:
>
> 71: privatereadonly Func<double, double, bool> predicate;
>
> 75: publicOperationInfo(Func<double, double, bool> predicate, Op 
> operation)
>
> I was unable to reproduce that in stand-alone test app though ..(
>
> godfather at debian: $ mcs --version
>
> Mono C# compiler version 2.11.0.0
>
> godfather at debian $ mono --version
>
> Mono JIT compiler version 2.11 (master/7420834 Sat Mar 26 12:56:34 MSK 
> 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)
>
> What can I do?
>
> TIA
>
> Alex
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110402/12fa5d77/attachment-0001.html 


More information about the Mono-devel-list mailing list