Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0182-15.cs
1 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
2 // Line: 8
3
4 using System.Runtime.CompilerServices;
5
6 public class C
7 {
8         [IndexerName ("1" + 2)]
9         public string this [int i] {
10                 set { }
11         }
12 }