[Mono-bugs] [Bug 74232][Nor] New - Missing CS0208 report
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 30 Mar 2005 09:06:37 -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=74232
--- shadow/74232 2005-03-30 09:06:37.000000000 -0500
+++ shadow/74232.tmp.27701 2005-03-30 09:06:37.000000000 -0500
@@ -0,0 +1,66 @@
+Bug#: 74232
+Product: Mono: Compilers
+Version: 1.1
+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: Missing CS0208 report
+
+Steps to reproduce the problem:
+1.
+
+using System;
+using System.Runtime.InteropServices;
+
+class C
+{
+
+ [DllImport ("xml2")]
+ unsafe static extern object* valuePop (IntPtr context);
+
+
+ int Test (int arg)
+ {
+ return arg + 3;
+ }
+
+ int Test3 (int b)
+ {
+ return b * 32;
+ }
+
+ public void Method ()
+ {
+ Console.WriteLine (Test (Test3 (3)));
+ }
+
+ public static void Main ()
+ {
+ }
+}
+
+Actual Results:
+
+No error
+
+
+Expected Results:
+
+X.cs(8,31): error CS0208: Cannot take the address of, get the size of, or
+ declare a pointer to a managed type ('object')
+
+
+How often does this happen?
+
+
+Additional Information: