Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0182-9.cs
blob2fb5cf41a32d226270f4d607649f3a6d73c882b5
1 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
2 // Line: 13
4 using System;
6 class TestAttribute: Attribute
8 public TestAttribute (object o) {}
11 public class E
13 [Test (new int[][] { null })]
14 public static void Main ()
16 System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);