Files
mono/mcs/errors/cs1501.cs
T
Marek Safar b23ffc4a15 New tests + updates
svn path=/trunk/mcs/; revision=87095
2007-10-08 14:04:14 +00:00

13 lines
202 B
C#

// 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;
}
}