[Mono-bugs] [Bug 79146][Blo] New - Generics support: null reference

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 22 18:34:11 EDT 2006


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 miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79146

--- shadow/79146	2006-08-22 18:34:11.000000000 -0400
+++ shadow/79146.tmp.4612	2006-08-22 18:34:11.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 79146
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Generics support: null reference 
+
+The following program crashes the runtime with a null reference exception:
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Reflection;
+
+class D {
+    public static void Main ()
+    {
+        List<MemberInfo> a = new List<MemberInfo> (typeof (D).GetMethods ());
+    }
+}
+
+It is not possible to build this with gmcs right now, but it builds with
+csc, the CSC binary is available here:
+
+http://primates.ximian.com/~miguel/tmp/test3.exe
+
+The major issue right now is not the gmcs compilation bug (although that
+would be nice to fix), but the generic bits.  This is crashing the new
+Visual Basic compiler right now.


More information about the mono-bugs mailing list