Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs0633-2.cs
1 // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier
2 // Line: 5
3
4 public class MonthDays {
5    [System.Runtime.CompilerServices.IndexerName ("")]
6    public int this [int a] {
7       get {
8          return 0;
9       }
10    }
11
12    public static void Main ()
13    {
14         int i = new MonthDays () [1];
15    }
16 }
17
18