(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0609.cs
blob254e6e028e05584c686e1e0bb53a7ecfcdc77095
1 // cs0609.cs: 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;