[Mono-bugs] [Bug 55065][Blo] Changed - error CS0037 on mono 0.32

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 2 Mar 2004 07:54:20 -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 bmaurer@users.sf.net.

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

--- shadow/55065	2004-03-02 07:47:05.000000000 -0500
+++ shadow/55065.tmp.21166	2004-03-02 07:54:20.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 55065
 Product: Mono/Compilers
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Blocker
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: popescu_dumitru@yahoo.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -32,6 +32,22 @@
 
 no errors
 How often does this happen? 
 
 
 Additional Information:
+
+------- Additional Comments From bmaurer@users.sf.net  2004-03-02 07:54 -------
+NOTABUG
+
+Valuetypes cant be null, so this error is correct.
+
+if you are looking to do the same thing as this code in C,
+
+void* blah = NULL;
+
+what you actually need to do is:
+
+IntPtr blah = IntPtr.Zero;
+
+I admit this is confusing, and I wish the assignment from null 
+worked, however, it does not.