2010-04-06 Jb Evain <jbevain@novell.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];