[Mono-bugs] [Bug 55065][Blo] Changed - error CS0037 on mono 0.32
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 3 Mar 2004 08:13:51 -0500 (EST)
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 ndrochak@gol.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55065
--- shadow/55065 2004-03-02 11:35:20.000000000 -0500
+++ shadow/55065.tmp.5025 2004-03-03 08:13:51.000000000 -0500
@@ -66,6 +66,18 @@
------- Additional Comments From bmaurer@users.sf.net 2004-03-02 11:35 -------
Also, does the conversion work if you do it implicitly (IntPtr x =
null)? If it does not what is the error?
Am still trying to see if the spec says anything.
+
+------- Additional Comments From ndrochak@gol.com 2004-03-03 08:13 -------
+For:
+ private IntPtr pidlRoot = (IntPtr) null;
+
+it does put a 0x0 there. The same is true when using UIntPtr as well.
+
+However:
+ IntPtr x = null;
+
+causes a compile error--> error CS0037: Cannot convert null
+to 'System.IntPtr' because it is a value type