зеркало из https://github.com/mono/mail-archives.git
105 строки
4.5 KiB
HTML
105 строки
4.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20475354%5D%20Null%20values%20for%20nullable%20structs%20are%0A%20reported%20as%20not%20equal%20to%20each%20other&In-Reply-To=bug-475354-28286%40https.bugzilla.novell.com/">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="086018.html">
|
|
<LINK REL="Next" HREF="086550.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20475354%5D%20Null%20values%20for%20nullable%20structs%20are%0A%20reported%20as%20not%20equal%20to%20each%20other&In-Reply-To=bug-475354-28286%40https.bugzilla.novell.com/"
|
|
TITLE="[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Feb 25 12:50:28 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="086018.html">[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086550.html">[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86517">[ date ]</a>
|
|
<a href="thread.html#86517">[ thread ]</a>
|
|
<a href="subject.html#86517">[ subject ]</a>
|
|
<a href="author.html#86517">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=475354">https://bugzilla.novell.com/show_bug.cgi?id=475354</A>
|
|
|
|
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dmitchell at logos.com</A> added comment
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=475354#c2">https://bugzilla.novell.com/show_bug.cgi?id=475354#c2</A>
|
|
|
|
|
|
David Mitchell <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dmitchell at logos.com</A>> changed:
|
|
|
|
What |Removed |Added
|
|
----------------------------------------------------------------------------
|
|
Status|RESOLVED |REOPENED
|
|
Resolution|FIXED |
|
|
|
|
|
|
|
|
|
|
--- Comment #2 from David Mitchell <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dmitchell at logos.com</A>> 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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="086018.html">[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086550.html">[Mono-bugs] [Bug 475354] Null values for nullable structs are reported as not equal to each other
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86517">[ date ]</a>
|
|
<a href="thread.html#86517">[ thread ]</a>
|
|
<a href="subject.html#86517">[ subject ]</a>
|
|
<a href="author.html#86517">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|