2 // System.Runtime.InteropServices._MethodBase interface
5 // Kazuki Oikawa (kazuki@panicode.com)
9 using System.Globalization;
10 using System.Reflection;
12 namespace System.Runtime.InteropServices
14 [CLSCompliant (false)]
15 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
16 [Guid ("6240837A-707F-3181-8E98-A36AE086766B")]
17 [TypeLibImportClass (typeof (MethodBase))]
19 public interface _MethodBase
21 bool Equals (object other);
23 object[] GetCustomAttributes (bool inherit);
25 object[] GetCustomAttributes (Type attributeType, bool inherit);
29 MethodImplAttributes GetMethodImplementationFlags ();
31 ParameterInfo[] GetParameters ();
33 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
35 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
37 void GetTypeInfoCount (out uint pcTInfo);
39 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
40 IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
44 object Invoke (object obj, object[] parameters);
46 object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
48 bool IsDefined(Type attributeType, bool inherit);
52 MethodAttributes Attributes {get;}
54 CallingConventions CallingConvention {get;}
56 Type DeclaringType {get;}
58 bool IsAbstract {get;}
60 bool IsAssembly {get;}
62 bool IsConstructor {get;}
66 bool IsFamilyAndAssembly {get;}
68 bool IsFamilyOrAssembly {get;}
72 bool IsHideBySig {get;}
78 bool IsSpecialName {get;}
84 MemberTypes MemberType {get;}
86 RuntimeMethodHandle MethodHandle {get;}
90 Type ReflectedType {get;}