[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0214-8.cs
blobac2785225412e4c4e4fcf226422fbd8fecbe4625
1 // CS0214: Pointers and fixed size buffers may only be used in an unsafe context
2 // Line: 17
3 // Compiler options: -unsafe
5 public unsafe delegate void Bar (int* x);
7 class X
9 public X (Bar bar)
10 { }
12 unsafe static void Test (int* b)
13 { }
15 static void Main ()
17 X x = new X (Test);