[Mono-devel-list] Comparing against null
Raja R Harinath
rharinath at novell.com
Fri Apr 8 02:14:20 EDT 2005
Hi,
Miguel de Icaza <miguel at ximian.com> writes:
> Hello,
>
>> This usage lies somewhere in the gray, murkey watters between ugly and
>> wrong. I'd advise you find some other way to do what you want.
>
> Is our compiler buggy, yes or no?
I believe it's buggy. AFAI can make out of the standard, comparison
against null is not special, and undergoes the same rules for choosing
user-defined operator==.
- Hari
More information about the Mono-devel-list
mailing list