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