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

cs0054.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28f8dd13e3293056e3f806dee22ae02f66575923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cs0054.cs: Inconsistent accessibility. Indexer return type is less accessible than indexer.
// Line: 13

using System;

class ErrorCS0054 {
	public ErrorCS0054 () {}
}

public class Foo {
	ErrorCS0054[] errors;

	public ErrorCS0054 this[int i] {
		get { return new ErrorCS0054 (); }
	}

	public static void Main () {
	}
}