1 // CS3005: Identifier `ErrorCS3005.foo' differing only in case is not CLS-compliant
3 // Compiler options: -warnaserror -warn:1
6 [assembly: CLSCompliant (true)]
8 public class ErrorCS3005 {
12 public static void Main ( ) {
13 ErrorCS3005 error = new ErrorCS3005 ();
14 Console.WriteLine ("This should make the compiler to complain ERROR CS3005, number: {0}", error.foo);