summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0182-9.cs
blob: 2fb5cf41a32d226270f4d607649f3a6d73c882b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13

using System;

class TestAttribute: Attribute
{
	public TestAttribute (object o) {}
}

public class E
{
	[Test (new int[][] { null })]
	public static void Main ()
	{
		System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);
	}
}