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")]
18 [TypeLibImportClass (typeof (MethodBase
))]
21 public interface _MethodBase
23 bool Equals (object other
);
25 object[] GetCustomAttributes (bool inherit
);
27 object[] GetCustomAttributes (Type attributeType
, bool inherit
);
31 MethodImplAttributes
GetMethodImplementationFlags ();
33 ParameterInfo
[] GetParameters ();
35 void GetIDsOfNames ([In
] ref Guid riid
, IntPtr rgszNames
, uint cNames
, uint lcid
, IntPtr rgDispId
);
37 void GetTypeInfo (uint iTInfo
, uint lcid
, IntPtr ppTInfo
);
39 void GetTypeInfoCount (out uint pcTInfo
);
41 void Invoke (uint dispIdMember
, [In
] ref Guid riid
, uint lcid
, short wFlags
, IntPtr pDispParams
,
42 IntPtr pVarResult
, IntPtr pExcepInfo
, IntPtr puArgErr
);
46 object Invoke (object obj
, object[] parameters
);
48 object Invoke (object obj
, BindingFlags invokeAttr
, Binder binder
, object[] parameters
, CultureInfo culture
);
50 bool IsDefined(Type attributeType
, bool inherit
);
54 MethodAttributes Attributes {get;}
56 CallingConventions CallingConvention {get;}
58 Type DeclaringType {get;}
60 bool IsAbstract {get;}
62 bool IsAssembly {get;}
64 bool IsConstructor {get;}
68 bool IsFamilyAndAssembly {get;}
70 bool IsFamilyOrAssembly {get;}
74 bool IsHideBySig {get;}
80 bool IsSpecialName {get;}
86 MemberTypes MemberType {get;}
88 RuntimeMethodHandle MethodHandle {get;}
92 Type ReflectedType {get;}