This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+382
View File
@@ -0,0 +1,382 @@
using System;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Represents a class member, such as a property or event. This is an abstract base class.</summary>
// Token: 0x02000168 RID: 360
[Token(Token = "0x2000168")]
[ComVisible(true)]
public abstract class MemberDescriptor
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MemberDescriptor" /> class with the specified name of the member.</summary>
/// <param name="name">The name of the member.</param>
/// <exception cref="T:System.ArgumentException">The name is an empty string ("") or <see langword="null" />.</exception>
// Token: 0x06000903 RID: 2307 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000903")]
[Address(RVA = "0xC659D0", Offset = "0xC649D0", VA = "0x180C659D0")]
protected MemberDescriptor(string name)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MemberDescriptor" /> class with the specified name of the member and an array of attributes.</summary>
/// <param name="name">The name of the member.</param>
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that contains the member attributes.</param>
/// <exception cref="T:System.ArgumentException">The name is an empty string ("") or <see langword="null" />.</exception>
// Token: 0x06000904 RID: 2308 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000904")]
[Address(RVA = "0xC658B0", Offset = "0xC648B0", VA = "0x180C658B0")]
protected MemberDescriptor(string name, Attribute[] attributes)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MemberDescriptor" /> class with the specified <see cref="T:System.ComponentModel.MemberDescriptor" />.</summary>
/// <param name="descr">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that contains the name of the member and its attributes.</param>
// Token: 0x06000905 RID: 2309 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000905")]
[Address(RVA = "0xC65D40", Offset = "0xC64D40", VA = "0x180C65D40")]
protected MemberDescriptor(MemberDescriptor descr)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MemberDescriptor" /> class with the name in the specified <see cref="T:System.ComponentModel.MemberDescriptor" /> and the attributes in both the old <see cref="T:System.ComponentModel.MemberDescriptor" /> and the <see cref="T:System.Attribute" /> array.</summary>
/// <param name="oldMemberDescriptor">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that has the name of the member and its attributes.</param>
/// <param name="newAttributes">An array of <see cref="T:System.Attribute" /> objects with the attributes you want to add to the member.</param>
// Token: 0x06000906 RID: 2310 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000906")]
[Address(RVA = "0xC659E0", Offset = "0xC649E0", VA = "0x180C659E0")]
protected MemberDescriptor(MemberDescriptor oldMemberDescriptor, Attribute[] newAttributes)
{
}
/// <summary>Gets or sets an array of attributes.</summary>
/// <returns>An array of type <see cref="T:System.Attribute" /> that contains the attributes of this member.</returns>
// Token: 0x170001B9 RID: 441
// (get) Token: 0x06000907 RID: 2311 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000908 RID: 2312 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170001B9")]
protected virtual Attribute[] AttributeArray
{
[Token(Token = "0x6000907")]
[Address(RVA = "0xC65E60", Offset = "0xC64E60", VA = "0x180C65E60", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6000908")]
[Address(RVA = "0xC66540", Offset = "0xC65540", VA = "0x180C66540", Slot = "5")]
set
{
}
}
/// <summary>Gets the collection of attributes for this member.</summary>
/// <returns>An <see cref="T:System.ComponentModel.AttributeCollection" /> that provides the attributes for this member, or an empty collection if there are no attributes in the <see cref="P:System.ComponentModel.MemberDescriptor.AttributeArray" />.</returns>
// Token: 0x170001BA RID: 442
// (get) Token: 0x06000909 RID: 2313 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BA")]
public virtual AttributeCollection Attributes
{
[Token(Token = "0x6000909")]
[Address(RVA = "0xC65E90", Offset = "0xC64E90", VA = "0x180C65E90", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets the name of the category to which the member belongs, as specified in the <see cref="T:System.ComponentModel.CategoryAttribute" />.</summary>
/// <returns>The name of the category to which the member belongs. If there is no <see cref="T:System.ComponentModel.CategoryAttribute" />, the category name is set to the default category, <see langword="Misc" />.</returns>
// Token: 0x170001BB RID: 443
// (get) Token: 0x0600090A RID: 2314 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BB")]
public virtual string Category
{
[Token(Token = "0x600090A")]
[Address(RVA = "0xC65F60", Offset = "0xC64F60", VA = "0x180C65F60", Slot = "7")]
get
{
return null;
}
}
/// <summary>Gets the description of the member, as specified in the <see cref="T:System.ComponentModel.DescriptionAttribute" />.</summary>
/// <returns>The description of the member. If there is no <see cref="T:System.ComponentModel.DescriptionAttribute" />, the property value is set to the default, which is an empty string ("").</returns>
// Token: 0x170001BC RID: 444
// (get) Token: 0x0600090B RID: 2315 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BC")]
public virtual string Description
{
[Token(Token = "0x600090B")]
[Address(RVA = "0xC660B0", Offset = "0xC650B0", VA = "0x180C660B0", Slot = "8")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether the member is browsable, as specified in the <see cref="T:System.ComponentModel.BrowsableAttribute" />.</summary>
/// <returns>
/// <see langword="true" /> if the member is browsable; otherwise, <see langword="false" />. If there is no <see cref="T:System.ComponentModel.BrowsableAttribute" />, the property value is set to the default, which is <see langword="true" />.</returns>
// Token: 0x170001BD RID: 445
// (get) Token: 0x0600090C RID: 2316 RVA: 0x00005AA8 File Offset: 0x00003CA8
[Token(Token = "0x170001BD")]
public virtual bool IsBrowsable
{
[Token(Token = "0x600090C")]
[Address(RVA = "0xC66430", Offset = "0xC65430", VA = "0x180C66430", Slot = "9")]
get
{
return default(bool);
}
}
/// <summary>Gets the name of the member.</summary>
/// <returns>The name of the member.</returns>
// Token: 0x170001BE RID: 446
// (get) Token: 0x0600090D RID: 2317 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BE")]
public virtual string Name
{
[Token(Token = "0x600090D")]
[Address(RVA = "0xC66500", Offset = "0xC65500", VA = "0x180C66500", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets the hash code for the name of the member, as specified in <see cref="M:System.String.GetHashCode" />.</summary>
/// <returns>The hash code for the name of the member.</returns>
// Token: 0x170001BF RID: 447
// (get) Token: 0x0600090E RID: 2318 RVA: 0x00005AC0 File Offset: 0x00003CC0
[Token(Token = "0x170001BF")]
protected virtual int NameHashCode
{
[Token(Token = "0x600090E")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "11")]
get
{
return 0;
}
}
/// <summary>Gets whether this member should be set only at design time, as specified in the <see cref="T:System.ComponentModel.DesignOnlyAttribute" />.</summary>
/// <returns>
/// <see langword="true" /> if this member should be set only at design time; <see langword="false" /> if the member can be set during run time.</returns>
// Token: 0x170001C0 RID: 448
// (get) Token: 0x0600090F RID: 2319 RVA: 0x00005AD8 File Offset: 0x00003CD8
[Token(Token = "0x170001C0")]
public virtual bool DesignTimeOnly
{
[Token(Token = "0x600090F")]
[Address(RVA = "0xC66200", Offset = "0xC65200", VA = "0x180C66200", Slot = "12")]
get
{
return default(bool);
}
}
/// <summary>Gets the name that can be displayed in a window, such as a Properties window.</summary>
/// <returns>The name to display for the member.</returns>
// Token: 0x170001C1 RID: 449
// (get) Token: 0x06000910 RID: 2320 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C1")]
public virtual string DisplayName
{
[Token(Token = "0x6000910")]
[Address(RVA = "0xC66300", Offset = "0xC65300", VA = "0x180C66300", Slot = "13")]
get
{
return null;
}
}
// Token: 0x06000911 RID: 2321 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000911")]
[Address(RVA = "0xC64B20", Offset = "0xC63B20", VA = "0x180C64B20")]
private void CheckAttributesValid()
{
}
/// <summary>Creates a collection of attributes using the array of attributes passed to the constructor.</summary>
/// <returns>A new <see cref="T:System.ComponentModel.AttributeCollection" /> that contains the <see cref="P:System.ComponentModel.MemberDescriptor.AttributeArray" /> attributes.</returns>
// Token: 0x06000912 RID: 2322 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000912")]
[Address(RVA = "0xC64BF0", Offset = "0xC63BF0", VA = "0x180C64BF0", Slot = "14")]
protected virtual AttributeCollection CreateAttributeCollection()
{
return null;
}
/// <summary>Compares this instance to the given object to see if they are equivalent.</summary>
/// <param name="obj">The object to compare to the current instance.</param>
/// <returns>
/// <see langword="true" /> if equivalent; otherwise, <see langword="false" />.</returns>
// Token: 0x06000913 RID: 2323 RVA: 0x00005AF0 File Offset: 0x00003CF0
[Token(Token = "0x6000913")]
[Address(RVA = "0xC64C60", Offset = "0xC63C60", VA = "0x180C64C60", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>When overridden in a derived class, adds the attributes of the inheriting class to the specified list of attributes in the parent class.</summary>
/// <param name="attributeList">An <see cref="T:System.Collections.IList" /> that lists the attributes in the parent class. Initially, this is empty.</param>
// Token: 0x06000914 RID: 2324 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000914")]
[Address(RVA = "0xC64EE0", Offset = "0xC63EE0", VA = "0x180C64EE0", Slot = "15")]
protected virtual void FillAttributes(IList attributeList)
{
}
// Token: 0x06000915 RID: 2325 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000915")]
[Address(RVA = "0xC65010", Offset = "0xC64010", VA = "0x180C65010")]
private void FilterAttributesIfNeeded()
{
}
/// <summary>Finds the given method through reflection, searching only for public methods.</summary>
/// <param name="componentClass">The component that contains the method.</param>
/// <param name="name">The name of the method to find.</param>
/// <param name="args">An array of parameters for the method, used to choose between overloaded methods.</param>
/// <param name="returnType">The type to return for the method.</param>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> that represents the method, or <see langword="null" /> if the method is not found.</returns>
// Token: 0x06000916 RID: 2326 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000916")]
[Address(RVA = "0xC654D0", Offset = "0xC644D0", VA = "0x180C654D0")]
protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType)
{
return null;
}
/// <summary>Finds the given method through reflection, with an option to search only public methods.</summary>
/// <param name="componentClass">The component that contains the method.</param>
/// <param name="name">The name of the method to find.</param>
/// <param name="args">An array of parameters for the method, used to choose between overloaded methods.</param>
/// <param name="returnType">The type to return for the method.</param>
/// <param name="publicOnly">Whether to restrict search to public methods.</param>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> that represents the method, or <see langword="null" /> if the method is not found.</returns>
// Token: 0x06000917 RID: 2327 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000917")]
[Address(RVA = "0xC65550", Offset = "0xC64550", VA = "0x180C65550")]
protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType, bool publicOnly)
{
return null;
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.MemberDescriptor" />.</returns>
// Token: 0x06000918 RID: 2328 RVA: 0x00005B08 File Offset: 0x00003D08
[Token(Token = "0x6000918")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Retrieves the object that should be used during invocation of members.</summary>
/// <param name="type">The <see cref="T:System.Type" /> of the invocation target.</param>
/// <param name="instance">The potential invocation target.</param>
/// <returns>The object to be used during member invocations.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="type" /> or <paramref name="instance" /> is <see langword="null" />.</exception>
// Token: 0x06000919 RID: 2329 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000919")]
[Address(RVA = "0xC65600", Offset = "0xC64600", VA = "0x180C65600", Slot = "16")]
protected virtual object GetInvocationTarget(Type type, object instance)
{
return null;
}
/// <summary>Gets a component site for the given component.</summary>
/// <param name="component">The component for which you want to find a site.</param>
/// <returns>The site of the component, or <see langword="null" /> if a site does not exist.</returns>
// Token: 0x0600091A RID: 2330 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600091A")]
[Address(RVA = "0xC65800", Offset = "0xC64800", VA = "0x180C65800")]
protected static ISite GetSite(object component)
{
return null;
}
/// <summary>Gets the component on which to invoke a method.</summary>
/// <param name="componentClass">A <see cref="T:System.Type" /> representing the type of component this <see cref="T:System.ComponentModel.MemberDescriptor" /> is bound to. For example, if this <see cref="T:System.ComponentModel.MemberDescriptor" /> describes a property, this parameter should be the class that the property is declared on.</param>
/// <param name="component">An instance of the object to call.</param>
/// <returns>An instance of the component to invoke. This method returns a visual designer when the property is attached to a visual designer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="componentClass" /> or <paramref name="component" /> is <see langword="null" />.</exception>
// Token: 0x0600091B RID: 2331 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600091B")]
[Address(RVA = "0xC65700", Offset = "0xC64700", VA = "0x180C65700")]
[Obsolete]
protected static object GetInvokee(Type componentClass, object component)
{
return null;
}
// Token: 0x04000564 RID: 1380
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000564")]
private string name;
// Token: 0x04000565 RID: 1381
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000565")]
private string displayName;
// Token: 0x04000566 RID: 1382
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000566")]
private int nameHash;
// Token: 0x04000567 RID: 1383
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000567")]
private AttributeCollection attributeCollection;
// Token: 0x04000568 RID: 1384
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000568")]
private Attribute[] attributes;
// Token: 0x04000569 RID: 1385
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000569")]
private Attribute[] originalAttributes;
// Token: 0x0400056A RID: 1386
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400056A")]
private bool attributesFiltered;
// Token: 0x0400056B RID: 1387
[global::Cpp2IlInjected.FieldOffset(Offset = "0x41")]
[Token(Token = "0x400056B")]
private bool attributesFilled;
// Token: 0x0400056C RID: 1388
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
[Token(Token = "0x400056C")]
private int metadataVersion;
// Token: 0x0400056D RID: 1389
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400056D")]
private string category;
// Token: 0x0400056E RID: 1390
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400056E")]
private string description;
// Token: 0x0400056F RID: 1391
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400056F")]
private object lockCookie;
}
}