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
2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
cs0118-8.cs
blob
48303ff9fd366b0b4f0d0d89781cbddbeff23c73
1
// CS0118: `A.Foo(string)' is a `method group' but a `type' was expected
2
// Line: 15
3
4
public class
A
5
{
6
public static void
Foo
(
string
Setting
)
7
{
8
}
9
}
10
11
class
Example
12
{
13
public void
Main
(
string
[]
args
)
14
{
15
A a
=
new
A
.
Foo
(
"test"
);
16
}
17
}