[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0212-3.cs
blob1e86d313b6d73ae45b596929c9f8a71e1c42d527
1 // CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer
2 // Line: 10
3 // Compiler options: -unsafe
5 struct Foo {
6 public float f;
7 public void foo ()
9 unsafe {
10 float *pf1 = &f;
15 class Test {
16 static void Main ()
18 Foo x = new Foo ();
19 x.foo ();