summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3015-2.cs
blob: d4aea9df9659465510a920afb18c0adcb6f8f7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS3015: `CLSAttribute' has no accessible constructors which use only CLS-compliant types
// Line: 8
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant (true)]

public class CLSAttribute: Attribute {
    [CLSCompliant (false)]
    public CLSAttribute(string array) {
    }
}