2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs3005-2.cs
blob22dc088b25a8cebbbf4e93b13f0f3a3e68c1f21e
1 // CS3005: Identifier `CLSClass.Index.get' differing only in case is not CLS-compliant
2 // Line: 14
3 // Compiler options: -warnaserror
5 [assembly:System.CLSCompliant(true)]
7 public class X {
8 public int index { get { return 0; } }
11 public class Y: X {
14 public class CLSClass: Y {
15 public long Index { get { return 3; } }