1 // CS0609: Cannot set the `IndexerName' attribute on an indexer marked override
4 using System
.Runtime
.CompilerServices
;
7 protected virtual bool this[int index
] {
14 class DerivedClass
: BaseClass
{
15 [IndexerName("Error")]
16 protected override bool this[int index
] {