a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
372 B
C#
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);
|
|
}
|
|
} |