add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / test-498.cs
blob64c67d7c37f9507d8fab836a7049c2d5d0769e70
1 using System.Reflection;
2 using System.Runtime.CompilerServices;
4 struct C
6 [MethodImplAttribute(MethodImplOptions.InternalCall)]
7 public extern C(float value);
9 static int Main ()
11 MethodImplAttributes iflags = typeof (C).GetConstructors()[0].GetMethodImplementationFlags ();
12 if ((iflags & MethodImplAttributes.InternalCall) == 0)
13 return 1;
15 return 0;