2 // test-181.cs: Test whenever mcs correctly handles the MethodImplAttributes
7 using System.Reflection;
8 using System.Runtime.CompilerServices;
12 [MethodImplAttribute(MethodImplOptions.Synchronized)]
17 static public int Main ()
19 MethodImplAttributes iflags = typeof (Test).GetMethod ("test").GetMethodImplementationFlags ();
20 return ((iflags & MethodImplAttributes.Synchronized) != 0 ? 0 : 1);