summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3005-1.cs
blob: fcb8798153e70dd1b89f7871d71c241181fbe5b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS3005: Identifier `CLSClass.Method(int)' differing only in case is not CLS-compliant
// Line: 8
// Compiler options: -warnaserror

[assembly:System.CLSCompliant (true)]

public class BaseClass {
        public int method;
}

public class CLSClass : BaseClass {
        public static void Method(int arg) {}
}