[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 06:53:12 EDT 2011
    
    
  
Hi.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110402/a60dbb74/attachment.html 
    
    
More information about the Mono-devel-list
mailing list