Bugzilla – Bug 323583
[GMCS] compilation failure with internal fields in generic classes
Last modified: 2007-11-05 12:53:20 UTC
---- Reported by miguel@ximian.com 2007-02-19 11:46:38 MST ---- The following program fails to compile with gmcs, but it should: using System; public class Bar<U> where U : EventArgs { internal void OnWorldDestroyed () { } } public class Baz<U> where U : Bar<EventArgs> { public void DestroyWorld (U bar) { bar.OnWorldDestroyed (); } } public class Bling { public static void Main () { } } Unknown operating system unknown. Setting to default OS "Other".
The issue is already fixed in SVN HEAD.