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

[assembly:System.CLSCompliant(true)]

public class X {
        public int index { get { return 0; } }
}

public class Y: X {
}
    
public class CLSClass: Y {
        public long Index { get { return 3; } }
}