[Mono-bugs] [Bug 68001][Nor] New - [GMCS] CLS compliance check of generic types causes a crash

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 11 Oct 2004 18:46:59 -0400 (EDT)


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 vargaz@gmail.com.

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

--- shadow/68001	2004-10-11 18:46:58.000000000 -0400
+++ shadow/68001.tmp.27735	2004-10-11 18:46:59.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 68001
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: martin@ximian.com                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] CLS compliance check of generic types causes a crash
+
+The following test case causes gmcs to crash:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+[assembly: CLSCompliant(true)]
+
+public interface IList2<T>
+{
+}
+
+public sealed class Tests {
+
+	public IList2<int> ExceptionHandlingClauses {
+		get {
+			return null;
+		}
+	}
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+with the assert
+
+** ERROR **: get custom attrs not yet supported for MonoGenericInst
+
+This blocks the implementation of the MethodBody class from net 2.0.