repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
resync
[mcs.git]
/
errors
/
cs0154-3.cs
blob
219853b3b84777a004239ea90268b68a4423b325
1
// cs0154-3.cs: 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
}