[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0212-2.cs
blob9377dc2545548489ac189035e3e05cfa6696ae02
1 // CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer
2 // Line: 17
3 // Compiler options: -unsafe
5 using System;
7 unsafe class X {
8 static void Main ()
10 int foo = 0;
11 Blah (ref foo);
15 static void Blah (ref int mptr)
17 int* x = &mptr;