Files
mono/mcs/errors/cs0415.cs
T
Marek Safar 673e10017b Updated.
svn path=/trunk/mcs/; revision=155252
2010-04-12 16:53:55 +00:00

15 lines
330 B
C#

// CS0415: The `System.Runtime.CompilerServices.IndexerNameAttribute' attribute is valid only on an indexer that is not an explicit interface member declaration
// Line: 11
using System.Runtime.CompilerServices;
interface A {
int this [int a] { set; }
}
class X : A {
[IndexerName("Error")]
int A.this [int a] { set {} }
}