blob: 1ce2d2f48dfd38231ef9c90ffe96ef088d7c7dbb (
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 (int[][] o) {}
}
public class E
{
[Test (null)]
public static void Main ()
{
System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);
}
}
|