[Mono-bugs] [Bug 517166] Generics sharing causes application to crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 29 10:50:30 EDT 2009


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

User vargaz at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=517166#c6





--- Comment #6 from Zoltan Varga <vargaz at gmail.com>  2009-06-29 08:50:29 MDT ---
Testcase:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Reflection;
using System.Reflection.Emit;

class Foo<T1, T2> {

    public void Throw () {
        throw new Exception ();
    }
}

class Bar<T> : Foo<object, T> {
}

class Program {

    public static int Main () {
        new Bar <string> ().Throw ();

        return 0;
    }
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

run it with -O=-inline.

-- 
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