[Mono-bugs] [Bug 65451][Nor] Changed - System.Object.Equals throws an exception if a null reference is passed as argument

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 19 05:23:26 EDT 2007

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 andyhume32 at yahoo.co.uk.


--- shadow/65451	2004-09-09 07:27:44.000000000 -0400
+++ shadow/65451.tmp.10128	2007-05-19 05:23:26.000000000 -0400
@@ -62,6 +62,13 @@
 Unhandled Exception: System.NullReferenceException: Object reference
 not set to an instance of an object in (unmanaged) (wrapper
 managed-to-native) System.Type:Equals (System.Type)
 in <0x00004> (wrapper managed-to-native) System.Type:Equals (System.Type)
 in <0x00032> App:Main (string[])
+------- Additional Comments From andyhume32 at yahoo.co.uk  2007-05-19 05:23 -------
+The fault still occurs in 1.2.4 (installer) on the overload taking 
+Type, it does not occur on overload taking Object.
+It appears fixed in r76505.  And test coverage is by method 
+Equals_Type_Null in TypeTest.cs.

More information about the mono-bugs mailing list