2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1739-2.cs
blobbcf6c1802298fcce4e7016b6b1123d79bd3fda5e
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
5 class A
7 public int this [int id] {
8 set {
13 class B
15 public static void Main ()
17 A a = new A ();
18 a [value:1] = 9;