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=79346 --- shadow/79346 2006-09-09 15:11:39.000000000 -0400 +++ shadow/79346.tmp.8272 2006-09-09 15:11:39.000000000 -0400 @@ -0,0 +1,44 @@ +Bug#: 79346 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Blocker +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Generic code crashes the compiler. + +The attached executable (compiled on MS from the following source code) +crashes the Mono VM. + +Our C# compiler is unable to compile this currently. + +using System; +using System.Collections.Generic; + +interface I { + void D (); +} + +class X : I { + static void Main () + { + List<object> l = new List<object> (); + List<I> i = new List<I> (); + + i.Add (new X()); + + l.AddRange (i.ToArray()); + + } + + public void D () {} +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
