cleol
[mcs.git] / errors / cs3005.cs
blob3ba8fd416acb3b83c9f759574f51cc59bd220d51
1 // CS3005: Identifier `ErrorCS3005.foo' differing only in case is not CLS-compliant
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
5 using System;
6 [assembly: CLSCompliant (true)]
8 public class ErrorCS3005 {
9 public int FOO = 0;
10 public int foo = 1;
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);