18 lines
372 B
C#
Raw Permalink Normal View History

// 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);
}
}