2004-02-16 Marek Safar <marek.safar@seznam.cz>
[mono.git] / mcs / errors / cs3005.cs
1 // cs3005: Identifier 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