2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0633-2.cs
blobecdf906abb72341981faf801bf0f90fa2c9205b4
1 // cs0633-2.cs: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier
2 // Line: 5
4 public class MonthDays {
5 [System.Runtime.CompilerServices.IndexerName ("")]
6 public int this [int a] {
7 get {
8 return 0;
12 public static void Main ()
14 int i = new MonthDays () [1];