[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs0609.cs
blob54f68d80e4d2319b066e19a6eb0368088182658c
1 // CS0609: Cannot set the `IndexerName' attribute on an indexer marked override
2 // Line: 15
4 using System.Runtime.CompilerServices;
6 class BaseClass {
7 protected virtual bool this[int index] {
8 get {
9 return true;
14 class DerivedClass: BaseClass {
15 [IndexerName("Error")]
16 protected override bool this[int index] {
17 get {
18 return false;