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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0176.cs
blob
02e3e1fbee9ac9f412492dc1135c9610f2fd118d
1
// CS0176: 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
}