2009-05-13 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0415.cs
blob3f524e915797907396f6cfbbd09896a5d09ba4f3
1 // cs0415.cs: The `IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration
2 // Line: 11
4 using System.Runtime.CompilerServices;
6 interface A {
7 int this [int a] { set; }
10 class X : A {
11 [IndexerName("Error")]
12 int A.this [int a] { set {} }