Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs3005.cs
1 // CS3005: Identifier `ErrorCS3005.foo' differing only in case is not CLS-compliant
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6 [assembly: CLSCompliant (true)]
7
8 public class ErrorCS3005 {
9         public int FOO = 0;
10         public int foo = 1;
11
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);
15         }
16 }
17