http://bugzilla.novell.com/show_bug.cgi?id=599449
http://bugzilla.novell.com/show_bug.cgi?id=599449#c0 Summary: "cannot be inferred from the usage" when compiling #SNMP Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: 32bit OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2 Cannot compile #SNMP Change Set 41717 on Mono. Compile on Microsoft .NET is OK. Sounds like gmcs does not work like csc for a specific LINQ expression. http://sharpsnmplib.codeplex.com/SourceControl/changeset/changes/41717 /home/rupert/Projects/SharpSnmpLib.sln (default targets) -> (Build target) -> /home/rupert/Projects/TestAgent/TestAgent.csproj (default targets) -> (CoreCompile target) -> ../lib/RollingFileAppender.cs(703,59): error CS0411: The type arguments for method `System.Linq.Enumerable.Select<TSource,TResult>(this System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource,int,TResult>)' cannot be inferred from the usage. Try specifying the type arguments explicitly Reproducible: Always Steps to Reproduce: 1. Check out this change set from CodePlex, http://sharpsnmplib.codeplex.com/SourceControl/changeset/changes/41717 2. Compile it on Mono 2.6.3/openSUSE using xbuild. Actual Results: /home/rupert/Projects/SharpSnmpLib.sln (default targets) -> (Build target) -> /home/rupert/Projects/TestAgent/TestAgent.csproj (default targets) -> (CoreCompile target) -> ../lib/RollingFileAppender.cs(703,59): error CS0411: The type arguments for method `System.Linq.Enumerable.Select<TSource,TResult>(this System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource,int,TResult>)' cannot be inferred from the usage. Try specifying the type arguments explicitly Expected Results: It should be compiled without a problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
