1 // cs0609.cs: Cannot set the name attribute on an indexer marked override
\r
3 using System.Runtime.CompilerServices;
\r
6 protected virtual bool this[int index] {
\r
13 class DerivedClass: BaseClass {
\r
14 [IndexerName("Error")]
\r
15 protected override int this[int index] {
\r
21 static void Main() {}
\r