18 lines
357 B
C#
18 lines
357 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 (int[][] o) {}
|
|
}
|
|
|
|
public class E
|
|
{
|
|
[Test (null)]
|
|
public static void Main ()
|
|
{
|
|
System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);
|
|
}
|
|
} |