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