projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs0154-3.cs
1
// cs0154-3.cs: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks the `get' accessor
\r
2
// Line: 13
\r
3
\r
4
class Test
\r
5
{
\r
6
public int this[bool b] { set {} }
\r
7
}
\r
8
\r
9
class C
\r
10
{
\r
11
public static void Main ()
\r
12
{
\r
13
int i = new Test()[false];
\r
14
}
\r
15
}