Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80898 --- shadow/80898 2007-02-19 11:46:38.000000000 -0500 +++ shadow/80898.tmp.5598 2007-02-19 11:46:38.000000000 -0500 @@ -0,0 +1,43 @@ +Bug#: 80898 +Product: Mono: Compilers +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [GMCS] compilation failure with internal fields in generic classes + +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 () + { + } + } _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
