2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / errors / cs3005.cs
1 // cs3005.cs: Identifier `ErrorCS3005.FOO' differing only in case is not CLS-compliant
2 // Line: 9
3
4 using System;
5 [assembly: CLSCompliant (true)]
6
7 public class ErrorCS3005 {
8         public int FOO = 0;
9         public int foo = 1;
10
11         public static void Main ( ) {
12                 ErrorCS3005 error = new ErrorCS3005 ();
13                 Console.WriteLine ("This should make the compiler to complain ERROR CS3005, number: {0}", error.foo);
14         }
15 }
16