2 // System.Runtime.InteropServices._MethodInfo interface
5 // Kazuki Oikawa (kazuki@panicode.com)
11 using System.Globalization;
12 using System.Reflection;
14 namespace System.Runtime.InteropServices
16 [CLSCompliant (false)]
17 [InterfaceType (ComInterfaceType.InterfaceIsDual)]
18 [Guid ("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
19 public interface _MethodInfo
21 bool Equals (object obj);
23 MethodInfo GetBaseDefinition();
25 object[] GetCustomAttributes (bool inherit);
27 object[] GetCustomAttributes (Type attributeType, bool inherit);
31 MethodImplAttributes GetMethodImplementationFlags ();
33 ParameterInfo[] GetParameters ();
37 object Invoke (object obj, object[] parameters);
39 object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
41 bool IsDefined(Type attributeType, bool inherit);
45 MethodAttributes Attributes {get;}
47 CallingConventions CallingConvention {get;}
49 Type DeclaringType {get;}
51 bool IsAbstract {get;}
53 bool IsAssembly {get;}
55 bool IsConstructor {get;}
59 bool IsFamilyAndAssembly {get;}
61 bool IsFamilyOrAssembly {get;}
65 bool IsHideBySig {get;}
71 bool IsSpecialName {get;}
77 MemberTypes MemberType {get;}
79 RuntimeMethodHandle MethodHandle {get;}
83 Type ReflectedType {get;}
85 Type ReturnType {get;}
87 ICustomAttributeProvider ReturnTypeCustomAttributes {get;}