**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0592-3.cs
blob48f7900c79a93fecb776ad2cddd56a43303d063a
1 // cs0592 : Attribute 'IndexerName' is not valid on this declaration type. It is valid on 'property' declarations only.
2 // Line : 6
4 using System.Runtime.CompilerServices;
6 [IndexerName("XXX")]
7 class A {
8 public static void Main () { }