+ static extern int get_method_attributes (IntPtr handle);
+
+ internal static MonoMethodInfo GetMethodInfo (IntPtr handle)
+ {
+ MonoMethodInfo info;
+ MonoMethodInfo.get_method_info (handle, out info);
+ return info;
+ }
+
+ internal static Type GetDeclaringType (IntPtr handle)
+ {
+ return GetMethodInfo (handle).parent;
+ }
+
+ internal static Type GetReturnType (IntPtr handle)
+ {
+ return GetMethodInfo (handle).ret;
+ }
+
+ internal static MethodAttributes GetAttributes (IntPtr handle)
+ {
+ return (MethodAttributes)get_method_attributes (handle);
+ }
+
+ internal static CallingConventions GetCallingConvention (IntPtr handle)
+ {
+ return GetMethodInfo (handle).callconv;
+ }
+
+ internal static MethodImplAttributes GetMethodImplementationFlags (IntPtr handle)
+ {
+ return GetMethodInfo (handle).iattrs;
+ }