2010-03-12 Jb Evain <jbevain@novell.com>
[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 // Compiler options: -langversion:future
4
5 class A
6 {
7         public int this [int id] {
8                 set {
9                 }
10         }
11 }
12
13 class B
14 {
15         public static void Main ()
16         {
17                 A a = new A ();
18                 a [value:1] = 9;
19         }
20 }