1 using System.Reflection;
2 using System.Runtime.CompilerServices;
6 [MethodImplAttribute(MethodImplOptions.InternalCall)]
7 public extern A (float value);
9 public extern int Foo {
10 [MethodImplAttribute(MethodImplOptions.InternalCall)]
17 public static int Main ()
19 MethodImplAttributes iflags = typeof (A).GetConstructors()[0].GetMethodImplementationFlags ();
20 if ((iflags & MethodImplAttributes.InternalCall) == 0)
23 iflags = typeof (A).GetProperties ()[0].GetGetMethod ().GetMethodImplementationFlags ();
24 if ((iflags & MethodImplAttributes.InternalCall) == 0)