merge r67228-r67235, r67237, r67251 and r67256-67259 to trunk (they are
[mono.git] / mcs / errors / cs0592-3.cs
1 // cs0592-3.cs: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only
2 // Line : 6
3
4 using System.Runtime.CompilerServices;
5
6 [IndexerName("XXX")]
7 class A {
8         public static void Main () { }
9         
10 }