projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git]
/
mcs
/
errors
/
cs1686-2.cs
1
// CS1686: Local variable or parameter `a' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression
2
// Line: 11
3
// Compiler options: -unsafe
4
5
delegate void D ();
6
7
unsafe class X {
8
public D T (int a)
9
{
10
return delegate {
11
int *x = &a;
12
};
13
}
14
15
static void Main ()
16
{ }
17
}