[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1686.cs
blobbbe8018dff6d855ae8d0e96098e7d93cb9b9af85
1 // CS1686: Local variable or parameter `i' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression
2 // Line: 16
3 // Compiler options: -unsafe
5 class X {
6 delegate void S ();
8 unsafe void M ()
10 int i;
11 int * j ;
13 S s = delegate {
14 i = 1;
16 j = &i;
19 static void Main () {}