Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0633-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4df6cc1bfd76316c0a6053d601d24c452e3dbe7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs0633.cs: The argument to the 'IndexerName' attribute must be a valid identifier
// Line: 5

public class MonthDays {
   [System.Runtime.CompilerServices.IndexerName ("")]
   public int this [int a] {
      get {
         return 0;
      }
   }

   public static void Main ()
   {
	int i = new MonthDays () [1];
   }
}