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
retag
[mcs.git]
/
errors
/
gcs1662-2.cs
blob
b287fcc468623005fb1897c7943a04667a6e6a1a
1
// CS1662: Cannot convert `lambda expression' to delegate type `D' because some of the return types in the block are not implicitly convertible to the delegate return type
2
// Line: 13
3
4
5
using
System
;
6
7
delegate int
D
(
int
i
);
8
9
class
X
10
{
11
static void
Main
()
12
{
13
D d
= (
int
l
) =>
Main
();
14
}
15
}