[Mono-bugs] [Bug 76323][Nor] New - Wrong implicit conversion

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 3 05:22:26 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 marek.safar at seznam.cz.

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

--- shadow/76323	2005-10-03 05:22:26.000000000 -0400
+++ shadow/76323.tmp.1320	2005-10-03 05:22:26.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 76323
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong implicit conversion
+
+class MainClass {
+        unsafe public static void Main ()
+        {
+			void *pv = null;
+			int *pi = pv;
+        }
+}
+
+Actual Results:
+
+No error.
+
+Expected Results:
+
+error cs0266:
+
+Cannot implicitly convert type `void*' to `int*'. An explicit conversion
+exists (are you missing a cast?)
+
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list