[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
Wed Jan 23 09:06:37 EST 2008


User rkumpera at novell.com added comment

--- Comment #5 from Rodrigo Kumpera <rkumpera at novell.com>  2008-01-23 07:06:36 MST ---
Hey Zoltan,

I have built a prototype that is advanced enough to make gmcs compile a simple
program like this:

using System;

public class Foo<T> {


public class Driver {

        public static void Main() {
                new Foo<int> ();


Let me work on this starting next week, right after I finish some perding stuff
on the verifier. My current design is like the following:

-Generate new instances of (Parameter/Method/Property/Field/Event)Info on each
call (ConstructorInfo::GetParameters for example).

-Encode the new types on managed side and icall the runtime only to append then
to internal structures. This makes encoding a lot easier and shorten a lot the
number of round-trips. Some encodings would eventually be 100% lifted to
managed code - all *SPEC tables for instance.

Right there is a minor blocking in local variable encoding as it doesn't
support user types at all - segfaults in
reflection_methodbuilder_to_mono_method when retrieving the type of the local.

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