[Mono-bugs] [Bug 325283] TypeLoadException caused by override of method with generic args

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 21 16:56:32 EDT 2008


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

User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=325283#c1


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |rkumpera at novell.com
             Status|NEW                                             |ASSIGNED




--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com>  2008-05-21 14:56:32 MST ---
The issue here is that when we resolve the constrained method ignoring the type
instantiation.

Currently we try to find the method:

!0 ::DataSelect<!!0> (!!0)

But Page has the following method:

Page DataSelect<!!0> (!!0)

Which is a proper overwride.


To solve that we need to inflate only the type argumento, which would turn !0
into Page and make everything work.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list