avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs1686-4.cs
blob2c22474b62b1946bce84b55c37838a3e8368afd2
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 return delegate {
11 int x = a;
14 int *y = &a;