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-2.cs
blob
9ee7eb02621d816a1145882ae83e34f287b32f2f
1
// CS0176: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead
2
// Line: 10
3
using
System
;
4
5
class
TestIt
6
{
7
public static void
Main
()
8
{
9
MyClass p
=
new
MyClass
();
10
p
.
Start
(
"hi"
);
11
}
12
}
13
14
class
MyClass
15
{
16
public static void
Start
(
string
info
)
17
{
18
}
19
}