[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0208.cs
blob0ab184d3c344227548af2554fd68c867fc42b1f6
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `CS208.Foo'
2 // Line: 20
3 // Compiler options: -unsafe
5 namespace CS208
7 public class Foo
9 public int Add (int a, int b)
11 return a + b;
15 public class Bar
17 unsafe static void Main ()
19 Foo f = new Foo ();
20 void *s = &f;