https://bugzilla.novell.com/show_bug.cgi?id=475354

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=475354#c2


David Mitchell <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #2 from David Mitchell <[email protected]>  2009-02-25 10:50:27 
MST ---
It seems that this hasn't been completely fixed, as evidenced by this log from
the C# shell:

---
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> DateTime? a = default(DateTime?);
csharp> DateTime? b = default(DateTime?);
csharp> a == b;
false
csharp> default(DateTime?) == default(DateTime?);
true
csharp> a == default(DateTime?);
true
csharp> default(DateTime?) == b;
true
---

Here we see that comparing default(DateTime?) to itself or to an object that
has been set to default(DateTime?) yields the expected value, but if we assign
two DateTime? objects to default(DateTime?) and compare them to each other, we
get an incorrect result.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to