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
2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0831-3.cs
blob
171ce9cbb47e60c484dacb44347d51e681a91c87
1
// CS0831: An expression tree may not contain a base access
2
// Line: 20
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
B
8
{
9
protected
B
this
[
int
i
] {
10
get
{
11
return null
;
12
}
13
}
14
}
15
16
class
C
:
B
17
{
18
public void
Test
()
19
{
20
Expression
<
Func
<
B
>>
e
= () =>
base
[
8
];
21
}
22
}