a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
257 B
C#
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;
|
|
}
|
|
}
|