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 [EMAIL PROTECTED]

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

--- shadow/80581        2007-01-28 13:33:50.000000000 -0500
+++ shadow/80581.tmp.29754      2007-01-29 05:13:35.000000000 -0500
@@ -54,6 +54,16 @@
 
 I do not want to support this without a good reason, because the code
 above is masking a real problem: that comparing "Now" to null is
 always going to be false (always, not sometimes, but always).
 
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-01-29 05:13 -------
+Yes, looks like the spec is pretty silent about this. It seems that
+neither the results of such a comparison are specified, nor is it
+explicitly forbidden.
+
+Regarding "always going to be false": yes, that's exactly what I meant
+with "pointless". The pre-existing code I've met that triggered this
+issue used a comparison of a struct to null as an over-eager check for
+ArgumentNullException.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to