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
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs1628.cs
blob
5c6af888bcc5a4cd12f0dd7aeea9d88476144b34
1
// CS1628: Parameter `a' cannot be used inside `anonymous method' when using `ref' or `out' modifier
2
// Line: 15
3
using
System
;
4
5
delegate void
D
();
6
7
class
X
{
8
static void
Main
()
9
{
10
}
11
12
static void
Host
(
ref int
a
)
13
{
14
D b
=
delegate
{
15
a
=
1
;
16
};
17
}
18
}