2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0592-3.cs
blob211e55f04c055e03ac5275e865f4415a4fee1e54
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
4 using System.Runtime.CompilerServices;
6 [IndexerName("XXX")]
7 class A {
8 public static void Main () { }