// // System.Runtime.InteropServices._MethodInfo interface // // Author: // Kazuki Oikawa (kazuki@panicode.com) // #if NET_1_1 using System; using System.Globalization; using System.Reflection; namespace System.Runtime.InteropServices { [CLSCompliant (false)] [InterfaceType (ComInterfaceType.InterfaceIsDual)] [Guid ("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")] public interface _MethodInfo { bool Equals (object obj); MethodInfo GetBaseDefinition(); object[] GetCustomAttributes (bool inherit); object[] GetCustomAttributes (Type attributeType, bool inherit); int GetHashCode (); MethodImplAttributes GetMethodImplementationFlags (); ParameterInfo[] GetParameters (); Type GetType (); object Invoke (object obj, object[] parameters); object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture); bool IsDefined(Type attributeType, bool inherit); string ToString (); MethodAttributes Attributes {get;} CallingConventions CallingConvention {get;} Type DeclaringType {get;} bool IsAbstract {get;} bool IsAssembly {get;} bool IsConstructor {get;} bool IsFamily {get;} bool IsFamilyAndAssembly {get;} bool IsFamilyOrAssembly {get;} bool IsFinal {get;} bool IsHideBySig {get;} bool IsPrivate {get;} bool IsPublic {get;} bool IsSpecialName {get;} bool IsStatic {get;} bool IsVirtual {get;} MemberTypes MemberType {get;} RuntimeMethodHandle MethodHandle {get;} string Name {get;} Type ReflectedType {get;} Type ReturnType {get;} ICustomAttributeProvider ReturnTypeCustomAttributes {get;} } } #endif