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
2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0154-3.cs
blob
c4f3d239ef5182c2070e1530959e11a6a065dca8
1
// CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks a `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
}