repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0120-18.cs
blob
a4aefc787bdab40988b23ae3a46250c441f9ece3
1
// CS0120: An object reference is required to access non-static member `Derived.Foo()'
2
// Line: 16
3
4
using
System
;
5
6
public class
Base
7
{
8
public
Base
(
Action a
)
9
{
10
}
11
}
12
13
public class
Derived
:
Base
14
{
15
public
Derived
()
16
:
base
(() =>
Foo
())
17
{
18
}
19
20
void
Foo
()
21
{
22
}
23
}