summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3016-1.cs
blob: 334edad3dff54ab51f3438027f98a987effde8d3 (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 class CLSAttribute: System.Attribute {
        public CLSAttribute () {
        }
        
        public CLSAttribute(bool[] array) {
        }
}