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

cs0592-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 211e55f04c055e03ac5275e865f4415a4fee1e54 (plain)
1
2
3
4
5
6
7
8
9
10
// cs0592-3.cs: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only
// Line : 6

using System.Runtime.CompilerServices;

[IndexerName("XXX")]
class A {
        public static void Main () { }
        
}