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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 21 12:09:38 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 lupus at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76741

--- shadow/76741	2005-11-21 09:17:46.000000000 -0500
+++ shadow/76741.tmp.27023	2005-11-21 12:09:38.000000000 -0500
@@ -107,6 +107,16 @@
 is *not* using a new typecode to describe nullable.
 
 ------- Additional Comments From vargaz at gmail.com  2005-11-21 09:17 -------
 I think adding more branches to opcode implementations which already
 have branches is just fine.
 
+
+------- Additional Comments From lupus at ximian.com  2005-11-21 12:09 -------
+isinst and castclass should be likely be implemented by setting the
+cast_class/element_class field in MonoClass appropriately if needed
+(both apply to references and since Nullable<T> is a struct and is
+never boxed itself it seems there isn't much to do here).
+As for unbox, add a different opcode, no need to clutter the existing one.
+BTW, please post in bug reports about generics, the IL code produced
+by the MS compiler for the specific issues, like in this case
+box/unbox etc, since having the C# code is quite useless.


More information about the mono-bugs mailing list