using System; using System.Globalization; using System.Reflection; namespace System.Runtime.InteropServices { /// Exposes the public members of the class to unmanaged code. // Token: 0x02000376 RID: 886 [TypeLibImportClass(typeof(MethodBase))] [ComVisible(true)] [CLSCompliant(false)] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("6240837A-707F-3181-8E98-A36AE086766B")] public interface _MethodBase { /// Provides COM objects with version-independent access to the method. /// true if the specified is equal to the current ; otherwise, false. /// The to compare with the current . // Token: 0x06002463 RID: 9315 bool Equals(object other); /// Provides COM objects with version-independent access to the method. /// An array that contains all the custom attributes, or an array with zero (0) elements if no attributes are defined. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x06002464 RID: 9316 object[] GetCustomAttributes(bool inherit); /// Provides COM objects with version-independent access to the method. /// An array of custom attributes applied to this member, or an array with zero (0) elements if no attributes have been applied. /// The type of attribute to search for. Only attributes that are assignable to this type are returned. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x06002465 RID: 9317 object[] GetCustomAttributes(Type attributeType, bool inherit); /// Provides COM objects with version-independent access to the method. /// The hash code for the current instance. // Token: 0x06002466 RID: 9318 int GetHashCode(); /// Provides COM objects with version-independent access to the method. /// One of the values. // Token: 0x06002467 RID: 9319 MethodImplAttributes GetMethodImplementationFlags(); /// Provides COM objects with version-independent access to the method. /// An array of type containing information that matches the signature of the method (or constructor) reflected by this instance. // Token: 0x06002468 RID: 9320 ParameterInfo[] GetParameters(); /// Maps a set of names to a corresponding set of dispatch identifiers. /// Reserved for future use. Must be IID_NULL. /// An array of names to be mapped. /// The count of the names to be mapped. /// The locale context in which to interpret the names. /// An array allocated by the caller that receives the identifiers corresponding to the names. // Token: 0x06002469 RID: 9321 void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); /// Retrieves the type information for an object, which can be used to get the type information for an interface. /// The type information to return. /// The locale identifier for the type information. /// A pointer to the requested type information object. // Token: 0x0600246A RID: 9322 void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo); /// Retrieves the number of type information interfaces that an object provides (either 0 or 1). /// When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. This parameter is passed uninitialized. // Token: 0x0600246B RID: 9323 void GetTypeInfoCount(out uint pcTInfo); /// Provides access to properties and methods exposed by an object. /// An identifier for the member. /// Reserved for future use. Must be IID_NULL. /// The locale context in which to interpret arguments. /// Flags describing the context of the call. /// A pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays. /// A pointer to the location where the result will be stored. /// A pointer to a structure that contains exception information. /// The index of the first argument that has an error. // Token: 0x0600246C RID: 9324 void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); /// Provides COM objects with version-independent access to the method. /// A object. // Token: 0x0600246D RID: 9325 Type GetType(); /// Provides COM objects with version-independent access to the method. /// An instance of the class associated with the constructor. /// The instance that created this method. /// An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, should be null.If the method or constructor represented by this instance takes a ref parameter (ByRef in Visual Basic), no special attribute is required for that parameter to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference type elements, this value is null. For value type elements, this value is 0, 0.0, or false, depending on the specific element type. // Token: 0x0600246E RID: 9326 object Invoke(object obj, object[] parameters); /// Provides COM objects with version-independent access to the method. /// An instance of the class associated with the constructor. /// The instance that created this method. /// One of the BindingFlags values that specifies the type of binding. /// A Binder that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If is null, then Binder.DefaultBinding is used. /// An array of type Object used to match the number, order, and type of the parameters for this constructor, under the constraints of . If this constructor does not require parameters, pass an array with zero elements, as in Object[] parameters = new Object[0]. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference type elements, this value is null. For value type elements, this value is 0, 0.0, or false, depending on the specific element type. /// A object used to govern the coercion of types. If this is null, the for the current thread is used. // Token: 0x0600246F RID: 9327 object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture); /// Provides COM objects with version-independent access to the method. /// true if one or more instance of the parameter is applied to this member; otherwise, false. /// The Type object to which the custom attributes are applied. /// true to search this member's inheritance chain to find the attributes; otherwise, false. // Token: 0x06002470 RID: 9328 bool IsDefined(Type attributeType, bool inherit); /// Provides COM objects with version-independent access to the method. /// A string that represents the current . // Token: 0x06002471 RID: 9329 string ToString(); /// Provides COM objects with version-independent access to the property. /// One of the values. // Token: 0x17000698 RID: 1688 // (get) Token: 0x06002472 RID: 9330 MethodAttributes Attributes { get; } /// Provides COM objects with version-independent access to the property. /// One of the values. // Token: 0x17000699 RID: 1689 // (get) Token: 0x06002473 RID: 9331 CallingConventions CallingConvention { get; } /// Provides COM objects with version-independent access to the property. /// The Type object for the class that declares this member. // Token: 0x1700069A RID: 1690 // (get) Token: 0x06002474 RID: 9332 Type DeclaringType { get; } /// Provides COM objects with version-independent access to the property. /// true if the method is abstract; otherwise, false. // Token: 0x1700069B RID: 1691 // (get) Token: 0x06002475 RID: 9333 bool IsAbstract { get; } /// Provides COM objects with version-independent access to the property. /// true if this method can be called by other classes in the same assembly; otherwise, false. // Token: 0x1700069C RID: 1692 // (get) Token: 0x06002476 RID: 9334 bool IsAssembly { get; } /// Provides COM objects with version-independent access to the property. /// true if this method is a constructor; otherwise, false. // Token: 0x1700069D RID: 1693 // (get) Token: 0x06002477 RID: 9335 bool IsConstructor { get; } /// Provides COM objects with version-independent access to the property. /// true if access to the class is restricted to members of the class itself and to members of its derived classes; otherwise, false. // Token: 0x1700069E RID: 1694 // (get) Token: 0x06002478 RID: 9336 bool IsFamily { get; } /// Provides COM objects with version-independent access to the property. /// true if access to this method is restricted to members of the class itself and to members of derived classes that are in the same assembly; otherwise, false. // Token: 0x1700069F RID: 1695 // (get) Token: 0x06002479 RID: 9337 bool IsFamilyAndAssembly { get; } /// Provides COM objects with version-independent access to the property. /// true if access to this method is restricted to members of the class itself, members of derived classes wherever they are, and members of other classes in the same assembly; otherwise, false. // Token: 0x170006A0 RID: 1696 // (get) Token: 0x0600247A RID: 9338 bool IsFamilyOrAssembly { get; } /// Provides COM objects with version-independent access to the property. /// true if this method is final; otherwise, false. // Token: 0x170006A1 RID: 1697 // (get) Token: 0x0600247B RID: 9339 bool IsFinal { get; } /// Provides COM objects with version-independent access to the property. /// true if the member is hidden by signature; otherwise, false. // Token: 0x170006A2 RID: 1698 // (get) Token: 0x0600247C RID: 9340 bool IsHideBySig { get; } /// Provides COM objects with version-independent access to the property. /// true if access to this method is restricted to other members of the class itself; otherwise, false. // Token: 0x170006A3 RID: 1699 // (get) Token: 0x0600247D RID: 9341 bool IsPrivate { get; } /// Provides COM objects with version-independent access to the property. /// true if this method is public; otherwise, false. // Token: 0x170006A4 RID: 1700 // (get) Token: 0x0600247E RID: 9342 bool IsPublic { get; } /// Provides COM objects with version-independent access to the property. /// true if this method has a special name; otherwise, false. // Token: 0x170006A5 RID: 1701 // (get) Token: 0x0600247F RID: 9343 bool IsSpecialName { get; } /// Provides COM objects with version-independent access to the property. /// true if this method is static; otherwise, false. // Token: 0x170006A6 RID: 1702 // (get) Token: 0x06002480 RID: 9344 bool IsStatic { get; } /// Provides COM objects with version-independent access to the property. /// true if this method is virtual; otherwise, false. // Token: 0x170006A7 RID: 1703 // (get) Token: 0x06002481 RID: 9345 bool IsVirtual { get; } /// Provides COM objects with version-independent access to the property. /// One of the values indicating the type of member. // Token: 0x170006A8 RID: 1704 // (get) Token: 0x06002482 RID: 9346 MemberTypes MemberType { get; } /// Provides COM objects with version-independent access to the property. /// A object. // Token: 0x170006A9 RID: 1705 // (get) Token: 0x06002483 RID: 9347 RuntimeMethodHandle MethodHandle { get; } /// Provides COM objects with version-independent access to the property. /// A object containing the name of this member. // Token: 0x170006AA RID: 1706 // (get) Token: 0x06002484 RID: 9348 string Name { get; } /// Provides COM objects with version-independent access to the property. /// The Type object that was used to obtain this MemberInfo object. // Token: 0x170006AB RID: 1707 // (get) Token: 0x06002485 RID: 9349 Type ReflectedType { get; } } }