[Mono-bugs] [Bug 73469][Min] Changed - System.Type.IsAssignableFrom executed on array types causes runtime to throw NullRefExc

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Apr 2005 15:08:30 -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=73469

--- shadow/73469	2005-04-25 14:03:13.000000000 -0400
+++ shadow/73469.tmp.2718	2005-04-25 15:08:30.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 73469
 Product: Mono: Runtime
 Version: unspecified
 OS: unknown
 OS Details: Mandrake 10.1 mono 1.1.4.20040221svn
-Status: REOPENED   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Minor
 Component: misc
 AssignedTo: vargaz@gmail.com                            
 ReportedBy: nazgul@omega.pl               
 QAContact: mono-bugs@ximian.com
@@ -106,6 +106,18 @@
 (System.Reflection.Emit.TypeBuilder)
 in <0x00264> System.Reflection.Emit.TypeBuilder:CreateType ()
 in <0x00135> X:Main ()
 
 
 with fresh svn on this
+
+------- Additional Comments From vargaz@gmail.com  2005-04-25 15:08 -------
+The testcase is not valid: first of all, 
+
+Type icomparable = typeof (System.IComparable[]);
+
+should be System.IComparable, not System.IComparable[].
+Also, the methods required by the interface are not implemented.
+
+We should probably add more error checking to our Ref.Emit 
+implementation, but its not a big priority right now.
+