repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git]
/
mcs
/
errors
/
cs1686-5.cs
blob
50cc3b5448786905b8fdb15aec0b44b30110b66f
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
int
*
y
= &
a
;
11
12
return delegate
{
13
int
x
=
a
;
14
};
15
}
16
}