summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3011.cs
blob: a87a31126e053dd824c81a4032c665dc689637bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS3011: `CLSClass.Error(System.IComparable)': only CLS-compliant members can be abstract
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant (true)]

public abstract class CLSClass {
        [CLSCompliant (false)]
        protected abstract void Error (IComparable arg);
}