Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs3005-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3241506fe65b54b4ee471c946ae65dcde675af43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs3005.cs: Identifier 'CLSClass.Index.get' differing only in case is not CLS-compliant
// Line: 14

[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; } }
}