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
tag rc1
[mcs.git]
/
errors
/
cs0120-14.cs
blob
9066b843c52cb87a350717cdf40eee6a4589acdf
1
// CS0120: An object reference is required to access non-static member `C.i'
2
// Line: 16
3
4
class
B
5
{
6
public
B
(
object
o
)
7
{
8
}
9
}
10
11
class
C
:
B
12
{
13
int
i
;
14
15
public
C
()
16
:
base
(
i
)
17
{
18
}
19
}
20