summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1739-2.cs
blob: dc77a5ed7f1aa7500826fe3bd740c10ac4da6c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS1739: The best overloaded method match for `A.this[int]' does not contain a parameter named `value'
// Line: 17

class A
{
	public int this [int id] {
		set {
		}
	}
}

class B
{
	public static void Main ()
	{
		A a = new A ();
		a [value:1] = 9;
	}
}