summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0571-4.cs
blob: 0e014d2bf807946903cecff39bb48182a8b67d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0571: `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");
	}
}