-// cs3005: Identifier foo differing only in case is not CLS-Compliant.
-// Line: 13
-
+// CS3005: Identifier `ErrorCS3005.foo' differing only in case is not CLS-compliant
+// Line: 9
+// Compiler options: -warnaserror -warn:1
using System;
+[assembly: CLSCompliant (true)]
-class ErrorCS3005 {
+public class ErrorCS3005 {
public int FOO = 0;
public int foo = 1;