Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
438 B
C#

// CS3005: Identifier `ErrorCS3005.foo' differing only in case is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror -warn:1
using System;
[assembly: CLSCompliant (true)]
public class ErrorCS3005 {
public int FOO = 0;
public int foo = 1;
public static void Main ( ) {
ErrorCS3005 error = new ErrorCS3005 ();
Console.WriteLine ("This should make the compiler to complain ERROR CS3005, number: {0}", error.foo);
}
}