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
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0176.cs
blob
961b79f4474778f4efe975e74f8ffce6c47ae558
1
// cs0176.cs: Static member `X.void_method()' cannot be accessed with an instance reference, qualify it with a type name instead
2
// Line: 15
3
class
X
{
4
public static void
void_method
()
5
{
6
}
7
public void
void_method
(
int
i
)
8
{
9
}
10
}
11
12
class
Y
{
13
void
m
(
X arg
)
14
{
15
arg
.
void_method
();
16
}
17
}