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

cs0571-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c7af4506c719fb26fc28e315964d97b85e426beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0571-4.cs: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
// Line: 15

using System.Runtime.CompilerServices;

class MainClass {
	[IndexerName ("AA")]
	int this [int Value, bool Value2, string Value3] {
		get {
			return 1;
		}
	}
		
	public MainClass () {
		int i = get_AA (2, false, "aaa");
	}
}