[Mono-bugs] [Bug 527190] New: Too much method candidates

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 31 11:45:17 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=527190


           Summary: Too much method candidates
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: keith.tobin at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=309709)
 --> (http://bugzilla.novell.com/attachment.cgi?id=309709)
Visual Studio solution

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.1)
Gecko/20090715 Firefox/3.5.1

I have created a test application to show this problem.

I am using subsonic 3.0 to access a sql database
using a LINQ query that is parsed to a SQL query
by subsonic 3.0.

This seem to go file but when I try to convert the 'var' out
put I get the following exception 'Too much method candidates'

This test application run's just fine under .NET 3.5

I have attached a copy of my visual studio solution.

If you require SQL database then I can send no problem


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
C:\Payment\Projects\KudYou\Software\SubSonicTestApp\SubSonicTestApp\SubSonicTest
App\bin\Debug>mono SubSonicTestApp.exe
Subsonic test app runing..........
Too much method candidates
  at System.Linq.Expressions.Expression.TryGetMethod (System.Type type,
System.S
tring methodName, BindingFlags flags, System.Type[] parameterTypes,
System.Type[
] argumentTypes) [0x00000]
  at System.Linq.Expressions.Expression.Call (System.Type type, System.String
me
thodName, System.Type[] typeArguments, System.Linq.Expressions.Expression[]
argu
ments) [0x00000]
  at SubSonic.Linq.Structure.QueryMapping.GetAggregator (System.Type
expectedTyp
e, System.Type actualType) [0x00000]
  at SubSonic.Linq.Translation.QueryBinder.Visit
(System.Linq.Expressions.Expres
sion exp) [0x00000]
  at SubSonic.Linq.Translation.QueryBinder.Bind
(SubSonic.Linq.Structure.QueryMa
pping mapping, System.Linq.Expressions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.QueryMapping.Translate
(System.Linq.Expressions.Exp
ression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.Translate
(System.Linq.Expressions.
Expression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.GetExecutionPlan
(System.Linq.Expre
ssions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.Execute
(System.Linq.Expressions.Ex
pression expression) [0x00000]
  at SubSonic.Linq.Structure.QueryProvider.System.Linq.IQueryProvider.Execute
(S
ystem.Linq.Expressions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.Query`1[KudYou.Enviroment.Login].GetEnumerator ()
[
0x00000]
  at System.Collections.Generic.List`1[KudYou.Enviroment.Login].AddEnumerable
(I
Enumerable`1 enumerable) [0x00000]
  at System.Collections.Generic.List`1[KudYou.Enviroment.Login]..ctor
(IEnumerab
le`1 collection) [0x00000]
  at System.Linq.Enumerable.ToList[Login] (IEnumerable`1 source) [0x00000]
  at SubSonicTestApp.Program.Main (System.String[] args) [0x00000]
Finished, Press any key to exit


C:\Payment\Projects\KudYou\Software\SubSonicTestApp\SubSonicTestApp\SubSonicTest
App\bin\Debug>
C:\Payment\Projects\KudYou\Software\SubSonicTestApp\SubSonicTestApp\SubSonicTest
App\bin\Debug>mono SubSonicTestApp.exe
Subsonic test app runing..........
Too much method candidates
  at System.Linq.Expressions.Expression.TryGetMethod (System.Type type,
System.S
tring methodName, BindingFlags flags, System.Type[] parameterTypes,
System.Type[
] argumentTypes) [0x00000]
  at System.Linq.Expressions.Expression.Call (System.Type type, System.String
me
thodName, System.Type[] typeArguments, System.Linq.Expressions.Expression[]
argu
ments) [0x00000]
  at SubSonic.Linq.Structure.QueryMapping.GetAggregator (System.Type
expectedTyp
e, System.Type actualType) [0x00000]
  at SubSonic.Linq.Translation.QueryBinder.Visit
(System.Linq.Expressions.Expres
sion exp) [0x00000]
  at SubSonic.Linq.Translation.QueryBinder.Bind
(SubSonic.Linq.Structure.QueryMa
pping mapping, System.Linq.Expressions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.QueryMapping.Translate
(System.Linq.Expressions.Exp
ression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.Translate
(System.Linq.Expressions.
Expression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.GetExecutionPlan
(System.Linq.Expre
ssions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.DbQueryProvider.Execute
(System.Linq.Expressions.Ex
pression expression) [0x00000]
  at SubSonic.Linq.Structure.QueryProvider.System.Linq.IQueryProvider.Execute
(S
ystem.Linq.Expressions.Expression expression) [0x00000]
  at SubSonic.Linq.Structure.Query`1[KudYou.Enviroment.Login].GetEnumerator ()
[
0x00000]
  at System.Collections.Generic.List`1[KudYou.Enviroment.Login].AddEnumerable
(I
Enumerable`1 enumerable) [0x00000]
  at System.Collections.Generic.List`1[KudYou.Enviroment.Login]..ctor
(IEnumerab
le`1 collection) [0x00000]
  at System.Linq.Enumerable.ToList[Login] (IEnumerable`1 source) [0x00000]
  at SubSonicTestApp.Program.Main (System.String[] args) [0x00000]
Finished, Press any key to exit

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


More information about the mono-bugs mailing list