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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 09:24:27 -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 marek.safar@seznam.cz.

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

--- shadow/52046	2003-12-11 09:24:27.000000000 -0500
+++ shadow/52046.tmp.15685	2003-12-11 09:24:27.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 52046
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@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.