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

using System;
[assembly:CLSAttribute (new bool [] {true, false})]
[assembly:CLSCompliant (true)]

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