[Mono-bugs] [Bug 34811][Nor] New - mcs doesn't report errors of Type CS0036

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 Dec 2002 13:06:40 -0000


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 bugbuddy-import@ximian.com.

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

--- shadow/34811	Sun Dec  1 08:06:39 2002
+++ shadow/34811.tmp.2447	Sun Dec  1 08:06:40 2002
@@ -0,0 +1,65 @@
+Bug#: 34811
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: UNCONFIRMED   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: Misc
+AssignedTo: triage@ximian.com                            
+ReportedBy: jaimemonkey@yahoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't report errors of Type CS0036
+
+Package: Mono/MCS
+Priority: Normal
+Version: CVS Dec01-2002
+Synopsis: mcs doesn't report errors of Type CS0036
+Bugzilla-Product: Mono/MCS
+Bugzilla-Component: Misc
+
+Description:
+Description of Problem:
+
+mcs doesn't report errors of Type CS0036
+
+Steps to reproduce the problem:
+
+Here is the Test commited to the CVS:
+mcs/errors/cs0036.cs
+
+// cs0036.cs: Attibute [In] cannot be accompaning the an 'out'
+parameter.
+// Line:
+
+using System;
+using System.Runtime.InteropServices;
+
+class ErrorCS0036 {
+        int i;
+
+        static void SetInteger ([In] out int i) {
+                i = 10;
+        }
+
+        public static void Main () {
+                int x;
+                SetInteger (out x);
+                Console.WriteLine ("The compiler should say:
+ErrorCS0036: {0}", x);
+        }
+}
+
+
+
+
+
+Setting qa contact to the default for this product.
+   This bug either had no qa contact or an invalid one.
+
+