[Mono-bugs] [Bug 555464] reflection.c:2609:get_field_on_inst_generic_type: assertion

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 30 16:16:01 EST 2009



--- Comment #12 from Onur Gumus <emperon at gmail.com> 2009-11-30 21:15:59 UTC ---
For the sake of completeness I am pasting the part that fails in nemerle.
Basically we check for System.RuntimeType to detect if we are .net or not.
This code was working by mono 2.0.2. 

The full code is @

line 291

static FrameworkGetMethod (t : System.Type, mutable m : MethodInfo) :
      if (MS_NET_RuntimeType != null)
        if (t.GetType().Equals (MS_NET_RuntimeType))
          // workaround MS.NET limitation of not allowing RuntimeType in
          GetHackishMethod (t, m);
        else {
          def td = t.GetGenericTypeDefinition ();
          when (td.GetType().Equals (MS_NET_RuntimeType))
            m = GetHackishMethod (td, m);

          TypeBuilder.GetMethod (t, m);
        TypeBuilder.GetMethod (t, m);

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