summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1738-3.cs
blob: 53c4efc35530db29197080120be290953cedc764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1738: Named arguments must appear after the positional arguments
// Line: 14

class C
{
	int this [int a, string s] {
		get {
			return 1;
		}
	}
	
	void Test ()
	{
		var r = this [a : 1,  "out"];
	}
}