Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
372 B
C#

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