Files
mono/mcs/errors/cs3005.cs
T
Marek Safar 4cb7777919 fixed test syntax
svn path=/trunk/mcs/; revision=49970
2005-09-13 15:24:37 +00:00

18 lines
433 B
C#

// cs3005.cs: Identifier `ErrorCS3005.FOO' differing only in case is not CLS-compliant
// Line: 9
// Compiler options: -warnaserror
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);
}
}