summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3016-4.cs
blob: acf8f0d73c45672456de591653463590e58cc21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS3016: Arrays as attribute arguments are not CLS-compliant
// Line: 8
// Compiler options: -warnaserror -warn:1

using System;
[assembly: System.CLSCompliant (true)]

[CLSAttribute (new bool [] {true, false})]
public enum E {
}

public partial class CLSAttribute: System.Attribute {
        public CLSAttribute () {
        }
        
        public CLSAttribute(bool[] array) {
        }
}