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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0176-2.cs
blob
8709ee84d347f6b9489984eab0a0e9c851399a0b
1
// cs0176-2.cs: 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
}