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.cs
blob
2dbb54786a6d06069758817ed514613c6292cf92
1
// CS0831: An expression tree may not contain a base access
2
// Line: 14
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
B
8
{
9
protected int
Core
()
10
{
11
return
4
;
12
}
13
}
14
15
class
C
:
B
16
{
17
public void
Test
()
18
{
19
Expression
<
Func
<
int
>>
e
= () =>
base
.
Core
();
20
}
21
}