[Mono-bugs] [Bug 34768][Nor] New - mcs compiles code that should advice of Error CS3005

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
29 Nov 2002 17:35:27 -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=34768

--- shadow/34768	Fri Nov 29 12:35:27 2002
+++ shadow/34768.tmp.25239	Fri Nov 29 12:35:27 2002
@@ -0,0 +1,63 @@
+Bug#: 34768
+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 compiles code that should advice of Error CS3005
+
+Package: Mono/MCS
+Priority: Normal
+Version: latest CVS Nov292002
+Synopsis: mcs compiles code that should advice of Error CS3005
+Bugzilla-Product: Mono/MCS
+Bugzilla-Component: Misc
+
+Description:
+Description of Problem:
+
+If you compile code that should report CS3005 error, mcs doesn't.
+
+Steps to reproduce the problem:
+
+Use the code below.
+
+This test is currently added in the CVS: 
+mcs/errors/cs3005.cs
+
+// cs3005: Identifier foo differing only in case is not CLS-Compliant.
+// Line: 13 
+
+
+using System;
+
+class ErrorCS3005 {
+	public int FOO = 0;
+	public int foo = 1;
+
+	public static void Main ( ) {
+		ErrorCS3005 error = new ErrorCS3005 ();
+		Console.WriteLine ("This should make the compiler to complain  ERROR
+CS3005, number: {0}", error.foo);
+	}
+}
+
+
+
+
+
+
+Setting qa contact to the default for this product.
+   This bug either had no qa contact or an invalid one.
+
+