[Mono-bugs] [Bug 492778] Mono crashes when running valid generics program

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 7 17:07:11 EDT 2009


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

User rkumpera at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=492778#c4





--- Comment #4 from Rodrigo Kumpera <rkumpera at novell.com>  2009-04-07 15:07:10 MDT ---
Ok, after A LOT of squeezing I figure out the issue.

Your assembly has the following memberref entry:


5: TypeSpec[2] GetEnumerator
    Resolved: class
[mscorlib]System.Collections.Generic.IEnumerable`1<object>.GetEnumerator
    Signature: instance class
[mscorlib]System.Collections.Generic.IEnumerator`1<object>()


The signature is inflated and we search against the GTD of the type. Which
obviously fail.

But searching against the inflated won't fix it as corlib features the
following memberref: 

414: TypeSpec[230] GetEnumerator
    Resolved: class
System.Collections.Generic.IEnumerable`1<char>.GetEnumerator
    Signature: instance class System.Collections.Generic.IEnumerator`1<!0>()


So, we need to inflate the signature as well? Maybe, possibly, I'm work on it.

The fix is on it's way.

-- 
Configure bugmail: http://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