2009-05-13 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1501.cs
blob54c315095b904c929e6c90ffff46ee258ec9108e
1 // CS1501: No overload for method `this' takes `2' arguments
2 // Line : 10
4 class C
6 public bool this [int i] { get { return false; } set {} }
8 void Foo ()
9 { C c = new C ();
10 c [0, 0] = null;