[Mono-bugs] [Bug 74481][Maj] Changed - User Defined == op not called for comparing `null'
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 9 Apr 2005 12:57:58 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=74481
--- shadow/74481 2005-04-07 05:29:26.000000000 -0400
+++ shadow/74481.tmp.22809 2005-04-09 12:57:58.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 74481
Product: Mono: Compilers
Version: 1.0
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
-Priority: Critical
+Severity: Unknown
+Priority: Major
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: joe@otee.dk
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Comparing against null
+Summary: User Defined == op not called for comparing `null'
When comparing an existing instance against null the overloaded operator is never called.
This used to work in mono 1.0.4 for sure. But doesn't work on mono 1.1.6
I haven't used any other mono releases in between so i don't know when it broke
using System;
@@ -62,6 +62,9 @@
else
{
System.Console.WriteLine ("The operator is never called");
}
}
}
+
+------- Additional Comments From bmaurer@users.sf.net 2005-04-09 12:57 -------
+cf bug 67410