[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-devel-list
Subject: Re: [Mono-devel-list] Comparing against null
From: Marcus <mathpup () mylinuxisp ! com>
Date: 2005-04-08 3:21:01
Message-ID: 200504072221.01178.mathpup () mylinuxisp ! com
[Download RAW message or body]
Just to check, I had someone compile your test under MS csc version, and the
code compiled by csc does call operator==. So this would really seem like an
mcs bug.
On Thursday 07 April 2005 4:12 am, Joe Ante wrote:
> Hi,
>
> Is there a way to compare an object against null with a user defined
> operator?
>
> In mono 1.0.4 i did get operator == called even if comparing against null.
> In mono 1.1.6 that doesn't happen anymore.
> Is this according to the standard? If it is how do i overload comparison
> against null?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic