Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

20 lines
257 B
C#

// 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;
}
}