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 #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0176-4.cs
blob
6d4cf4f55e2f6d11f0dd6ff83ac698d283e017be
1
// CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
2
// Line: 12
3
4
public class
X
{
5
public const double
CONST
=
1
;
6
}
7
8
public class
Y
:
X
{
9
10
void
D
(
X x
)
11
{
12
double
d
=
x
.
CONST
;
13
}
14
}