a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
260 B
C#
16 lines
260 B
C#
// CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks the `get' accessor
|
|
// Line: 13
|
|
|
|
class Test
|
|
{
|
|
public int this[bool b] { set {} }
|
|
}
|
|
|
|
class C
|
|
{
|
|
public static void Main ()
|
|
{
|
|
int i = new Test()[false];
|
|
}
|
|
}
|