Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1739-2.cs
1 // CS1739: The best overloaded method match for `A.this[int]' does not contain a parameter named `value'
2 // Line: 17
3
4 class A
5 {
6         public int this [int id] {
7                 set {
8                 }
9         }
10 }
11
12 class B
13 {
14         public static void Main ()
15         {
16                 A a = new A ();
17                 a [value:1] = 9;
18         }
19 }