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
2007-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git]
/
errors
/
cs1628.cs
blob
dec36af875752dc562bc2d728db1cf632f60e990
1
// cs1628.cs: Cannot use ref or out parameter `a' inside an anonymous method block
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
}