projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git]
/
mcs
/
errors
/
cs0154-3.cs
1
// CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks the `get' accessor
2
// Line: 13
3
4
class Test
5
{
6
public int this[bool b] { set {} }
7
}
8
9
class C
10
{
11
public static void Main ()
12
{
13
int i = new Test()[false];
14
}
15
}