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-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs1503-5.cs
blob
ac07d8e2e9ec3867adcd6786ee27b319ff1041eb
1
// CS1503: Argument `#5' cannot convert `void' expression to type `object'
2
// Line: 14
3
4
using
System
;
5
6
public class
foo
7
{
8
public static void
voidfunc
()
9
{
10
}
11
12
public static void
Main
()
13
{
14
Console
.
WriteLine
(
"Whoops:
{0} {1}
"
,
0
,
1
,
2
,
voidfunc
());
15
}
16
}