Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0415.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f524e915797907396f6cfbbd09896a5d09ba4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0415.cs: The `IndexerName' 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 {} }
}