[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0182-9.cs
1 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
2 // Line: 13
3
4 using System;
5
6 class TestAttribute: Attribute
7 {
8         public TestAttribute (object o) {}
9 }
10
11 public class E
12 {
13         [Test (new int[][] { null })]
14         public static void Main ()
15         {
16                 System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);
17         }
18 }