Make csproj target work again
[mcs.git] / errors / cs1686-5.cs
blob67fe06a40486b8b5a564be9ca6387ed0bb6310bf
1 // CS1686: Local variable or parameter `a' cannot have their address taken and be used inside an anonymous method or lambda expression
2 // Line: 11
3 // Compiler options: -unsafe
5 delegate void D ();
7 unsafe class X {
8 public D T (int a)
10 int *y = &a;
12 return delegate {
13 int x = a;