summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3018-4.cs
blob: 2bc993e1962a9503ada299e3c48ff59589aaa183 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS3018: `C.Error(bool)' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C'
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant (false)]

public class C {
        [CLSCompliant (true)]
        protected void Error (bool arg) {}
}