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
Fix indentation, spacing.
[mono-project.git]
/
mcs
/
errors
/
cs8030-2.cs
blob
231f2113a5082afab390e69fbe5a4cbd386256cb
1
// CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value
2
// Line: 9
3
4
delegate void
D
(
int
x
);
5
6
class
X
{
7
static void
Main
()
8
{
9
D d6
=
delegate
(
int
x
)
{ return x; }
;
// Return type mismatch.
10
}
11
}