summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3005-18.cs
blob: f711c5a8787d445e57760ec9e90f614045bd7bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS3005: Identifier `B.TEST()' differing only in case is not CLS-compliant
// Line: 15
// Compiler options: -warnaserror

using System;

[assembly: CLSCompliantAttribute (true)]

public class A
{
    [CLSCompliant (false)]
    public void Test () {}
        
    public void test () {}
}

public class B: A
{
    public void TEST () {} 
}