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
retag
[mcs.git]
/
errors
/
gcs0831-2.cs
blob
ed0f3516ad101367ee461fc4dc9fd701e64d2157
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 bool
Core
{
10
get
{
11
return true
;
12
}
13
}
14
}
15
16
class
C
:
B
17
{
18
public void
Test
()
19
{
20
Expression
<
Func
<
bool
>>
e
= () =>
base
.
Core
;
21
}
22
}