summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1501.cs
blob: 54c315095b904c929e6c90ffff46ee258ec9108e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1501: No overload for method `this' takes `2' arguments
// Line : 10

class C
{
	public bool this [int i] { get { return false; } set {} }
	
	void Foo ()
	{	C c = new C ();
		c [0, 0] = null;
	}
}