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
2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs1676.cs
blob
99d2a43df5e7431f22d05996c31963fcb3644d70
1
// cs1676.cs: Parameter `1' must be declared with the `ref' keyword
2
// Line: 11
3
//
4
// The delegate has an explicit signature, so it can not be assigned.
5
//
6
delegate void
D
(
ref int
x
);
7
8
class
X
{
9
static void
Main
()
10
{
11
D d2
=
delegate
(
int
x
) {};
12
}
13
}