Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs1501.cs
1 // CS1501: No overload for method `this' takes `2' arguments
2 // Line : 10
3
4 class C
5 {
6         public bool this [int i] { get { return false; } set {} }
7         
8         void Foo ()
9         {       C c = new C ();
10                 c [0, 0] = null;
11         }
12 }