[Mono-bugs] [Bug 76741][Wis] Changed - No runtime support for nullable types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 17 19:49:09 EST 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer at users.sf.net.


--- shadow/76741	2005-11-17 19:48:31.000000000 -0500
+++ shadow/76741.tmp.3378	2005-11-17 19:49:09.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 76741
 Product: Mono: Runtime
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: bmaurer at users.sf.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -37,6 +37,15 @@
 In Z<T>, when T=int?, the cast will unbox an int, and if o is null, return
 an int? with no value.
 I executed the code that GMCS generates for this on Microsoft's framework,
 and it works fine, so this is a runtime issue.
+------- Additional Comments From bmaurer at users.sf.net  2005-11-17 19:49 -------
+Uh, forgot to put what happens with us:
+Unhandled Exception: System.InvalidCastException: Cannot cast from
+source type to destination type.
+in <0x00029> X:Z[Nullable`1] (System.Object o)
+in <0x00024> X:Main ()

More information about the mono-bugs mailing list