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
2006-09-21 Mike Kestner <mkestner@novell.com>
[mcs.git]
/
errors
/
cs1593-2.cs
blob
86d6a75b617522bd65414810b2670e04067ed8dd
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
}