summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3016-3.cs
blob: 1b8a57e312eac5d904ae7815957e80be6a2488b7 (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: 13
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

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

[CLSAttribute(new string[] { "", "" })]
public interface ITest {
}