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

Alexander M. Batishchev abatishchev at godfather.net.ru
Sat Apr 2 08:25:21 EDT 2011


That's done now.

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

Thanks, Marek.

 

From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Marek Safar
Sent: Saturday, April 02, 2011 3:39 PM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Using the generic type `System.Func<T1, T2, T3, T4,
T5, T6, T7, T8, T9, TResult>' requires `10' type argument(s)

 

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: private readonly Func<double, double, bool> predicate;

75: public OperationInfo(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/3bfbf64c/attachment.html 


More information about the Mono-devel-list mailing list