projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ChangeLog: Updated ChangeLog
[mono.git]
/
mcs
/
errors
/
cs1662.cs
1
// cs1662: Can not convert the anonymous method, as the returned value does not match the return type of the delegate
2
// Line: 11
3
//
4
// Return type mismatch.
5
//
6
delegate void D (int x);
7
8
class X {
9
static void Main ()
10
{
11
D d6 = delegate (int x) { return x; }; // Return type mismatch.
12
}
13
}