[Mono-bugs] [Bug 354047] Type created by MakeGenericType () from a finished TypeBuilder is flagged as a generic type definition
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jan 21 17:08:02 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=354047
User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=354047#c2
Zoltan Varga <vargaz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vargaz at gmail.com
--- Comment #2 from Zoltan Varga <vargaz at gmail.com> 2008-01-21 15:08:01 MST ---
I think this issue also causes this:
https://bugzilla.novell.com/show_bug.cgi?id=354759
basically, currently we inflate MethodBuilder's which might not be finished
yet so the inflated methods end up having no code in them. I agree we should
fix this the proper way since it causes us to add a never ending series of
hacks
to the runtime.
A problem we currently have is that gmcs depends on calling GetMethods () etc.
on MonoGenericClass (which is called TypeBuilderInstantiation on MS, a much
better name), while MS returns NotImplementedException on them. So we either
have to:
- keep the current code for inflating methods
- inflate the methods the first time GetMethods () is called, which will
only happen with gmcs
- instead of inflating the methods, create a MethodBuilderInstantiation class
or
similar, and make GetMethods () return an array of these.
--
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