[Mono-bugs] [Bug 76256][Nor] New - UIntPtr should be converted to
int
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 28 12:18:42 EDT 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 kornelpal at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76256
--- shadow/76256 2005-09-28 12:18:42.000000000 -0400
+++ shadow/76256.tmp.27056 2005-09-28 12:18:42.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 76256
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: kornelpal at hotmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: UIntPtr should be converted to int
+
+Code:
+int var1 = 2;
+UIntPtr var2 = (UIntPtr)var1;
+
+Actual result:
+error CS0030: Cannot convert type 'int' to 'System.UIntPtr'
+
+Expected result:
+No error.
More information about the mono-bugs
mailing list