1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// CS1739: The best overloaded method match for `A.this[int]' does not contain a parameter named `value' // Line: 17 class A { public int this [int id] { set { } } } class B { public static void Main () { A a = new A (); a [value:1] = 9; } }