2010-01-31 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs3005.cs
blobe11dce4a12969dafa7f807897abf4fa57219456d
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);