From mono-devel-list Fri Apr 08 03:21:01 2005 From: Marcus Date: Fri, 08 Apr 2005 03:21:01 +0000 To: mono-devel-list Subject: Re: [Mono-devel-list] Comparing against null Message-Id: <200504072221.01178.mathpup () mylinuxisp ! com> X-MARC-Message: https://marc.info/?l=mono-devel-list&m=111336503828794 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?