projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs1593-2.cs
1
// cs1593-2.cs: Delegate `D' does not take `0' arguments
2
// Line: 11
3
//
4
// The delegate has an explicit signature with 0 arguments, so it
5
// can not be assigned to a delegate with one argument.
6
//
7
delegate void D (int x);
8
9
class X {
10
static void Main ()
11
{
12
D d2 = delegate () {};
13
}
14
}