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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0120-17.cs
blob
ba7c19c59205867ad2c64335a47fad2c21696f72
1
// CS0120: An object reference is required to access non-static member `B.M()'
2
// Line: 16
3
4
using
System
;
5
6
class
A
7
{
8
protected
A
(
Action a
)
9
{
10
}
11
}
12
13
class
B
:
A
14
{
15
public
B
()
16
:
base
(
M
)
17
{
18
}
19
20
void
M
()
21
{
22
}
23
}