[Mono-bugs] [Bug 52046][Nor] New - UIntPtr error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 31 Jan 2004 02:42:52 -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 miguel@ximian.com.

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

--- shadow/52046	2004-01-31 02:42:52.000000000 -0500
+++ shadow/52046.tmp.30103	2004-01-31 02:42:52.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 52046
+Product: Mono/Compilers
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
+Priority: Normal
+Component: C#
+AssignedTo: ravi@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: UIntPtr error
+
+Description of Problem:
+The following code is correct but compiler two errors
+
+using System;
+
+class Class_1 {
+        public UIntPtr Valid() {
+                return new UIntPtr(1);
+        }
+}
+    
+public class MainClass {
+        
+        public static void Main() {}
+}
+
+Additional Information:
+
+M$ compiler compile it.
+
+------- Additional Comments From ravi@ximian.com  2003-12-12 11:46 -------
+Assigning to myself
+
+------- Additional Comments From miguel@ximian.com  2004-01-31 02:42 -------
+This works for me with current CVS.