summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3011-1.cs
blob: 1c91ca4b76a873446ccc200e31d3f4b3dcf444c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS3011: `CLSClass.this[long]': 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)]
        public abstract int this[long index] { set; }
}