This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 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: 0x0200016C RID: 364
[Token(Token = "0x200016C")]
[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: 0x06000919 RID: 2329 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000919")]
[Address(RVA = "0x4FB680", Offset = "0x4FA480", VA = "0x1804FB680")]
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: 0x0600091A RID: 2330 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600091A")]
[Address(RVA = "0x4FB560", Offset = "0x4FA360", VA = "0x1804FB560")]
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: 0x0600091B RID: 2331 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600091B")]
[Address(RVA = "0x4FB9F0", Offset = "0x4FA7F0", VA = "0x1804FB9F0")]
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: 0x0600091C RID: 2332 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600091C")]
[Address(RVA = "0x4FB690", Offset = "0x4FA490", VA = "0x1804FB690")]
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: 0x170001BD RID: 445
// (get) Token: 0x0600091D RID: 2333 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600091E RID: 2334 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170001BD")]
protected virtual Attribute[] AttributeArray
{
[Token(Token = "0x600091D")]
[Address(RVA = "0x4FBB10", Offset = "0x4FA910", VA = "0x1804FBB10", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x600091E")]
[Address(RVA = "0x4FC1F0", Offset = "0x4FAFF0", VA = "0x1804FC1F0", 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: 0x170001BE RID: 446
// (get) Token: 0x0600091F RID: 2335 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BE")]
public virtual AttributeCollection Attributes
{
[Token(Token = "0x600091F")]
[Address(RVA = "0x4FBB40", Offset = "0x4FA940", VA = "0x1804FBB40", 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: 0x170001BF RID: 447
// (get) Token: 0x06000920 RID: 2336 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BF")]
public virtual string Category
{
[Token(Token = "0x6000920")]
[Address(RVA = "0x4FBC10", Offset = "0x4FAA10", VA = "0x1804FBC10", 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: 0x170001C0 RID: 448
// (get) Token: 0x06000921 RID: 2337 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C0")]
public virtual string Description
{
[Token(Token = "0x6000921")]
[Address(RVA = "0x4FBD60", Offset = "0x4FAB60", VA = "0x1804FBD60", 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: 0x170001C1 RID: 449
// (get) Token: 0x06000922 RID: 2338 RVA: 0x00005AC0 File Offset: 0x00003CC0
[Token(Token = "0x170001C1")]
public virtual bool IsBrowsable
{
[Token(Token = "0x6000922")]
[Address(RVA = "0x4FC0E0", Offset = "0x4FAEE0", VA = "0x1804FC0E0", Slot = "9")]
get
{
return default(bool);
}
}
/// <summary>Gets the name of the member.</summary>
/// <returns>The name of the member.</returns>
// Token: 0x170001C2 RID: 450
// (get) Token: 0x06000923 RID: 2339 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C2")]
public virtual string Name
{
[Token(Token = "0x6000923")]
[Address(RVA = "0x4FC1B0", Offset = "0x4FAFB0", VA = "0x1804FC1B0", 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: 0x170001C3 RID: 451
// (get) Token: 0x06000924 RID: 2340 RVA: 0x00005AD8 File Offset: 0x00003CD8
[Token(Token = "0x170001C3")]
protected virtual int NameHashCode
{
[Token(Token = "0x6000924")]
[Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310", 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: 0x170001C4 RID: 452
// (get) Token: 0x06000925 RID: 2341 RVA: 0x00005AF0 File Offset: 0x00003CF0
[Token(Token = "0x170001C4")]
public virtual bool DesignTimeOnly
{
[Token(Token = "0x6000925")]
[Address(RVA = "0x4FBEB0", Offset = "0x4FACB0", VA = "0x1804FBEB0", 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: 0x170001C5 RID: 453
// (get) Token: 0x06000926 RID: 2342 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C5")]
public virtual string DisplayName
{
[Token(Token = "0x6000926")]
[Address(RVA = "0x4FBFB0", Offset = "0x4FADB0", VA = "0x1804FBFB0", Slot = "13")]
get
{
return null;
}
}
// Token: 0x06000927 RID: 2343 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000927")]
[Address(RVA = "0x4FA7D0", Offset = "0x4F95D0", VA = "0x1804FA7D0")]
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: 0x06000928 RID: 2344 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000928")]
[Address(RVA = "0x4FA8A0", Offset = "0x4F96A0", VA = "0x1804FA8A0", 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: 0x06000929 RID: 2345 RVA: 0x00005B08 File Offset: 0x00003D08
[Token(Token = "0x6000929")]
[Address(RVA = "0x4FA910", Offset = "0x4F9710", VA = "0x1804FA910", 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: 0x0600092A RID: 2346 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600092A")]
[Address(RVA = "0x4FAB90", Offset = "0x4F9990", VA = "0x1804FAB90", Slot = "15")]
protected virtual void FillAttributes(IList attributeList)
{
}
// Token: 0x0600092B RID: 2347 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600092B")]
[Address(RVA = "0x4FACC0", Offset = "0x4F9AC0", VA = "0x1804FACC0")]
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: 0x0600092C RID: 2348 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600092C")]
[Address(RVA = "0x4FB180", Offset = "0x4F9F80", VA = "0x1804FB180")]
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: 0x0600092D RID: 2349 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600092D")]
[Address(RVA = "0x4FB200", Offset = "0x4FA000", VA = "0x1804FB200")]
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: 0x0600092E RID: 2350 RVA: 0x00005B20 File Offset: 0x00003D20
[Token(Token = "0x600092E")]
[Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310", 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: 0x0600092F RID: 2351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600092F")]
[Address(RVA = "0x4FB2B0", Offset = "0x4FA0B0", VA = "0x1804FB2B0", 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: 0x06000930 RID: 2352 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000930")]
[Address(RVA = "0x4FB4B0", Offset = "0x4FA2B0", VA = "0x1804FB4B0")]
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: 0x06000931 RID: 2353 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000931")]
[Address(RVA = "0x4FB3B0", Offset = "0x4FA1B0", VA = "0x1804FB3B0")]
[Obsolete]
protected static object GetInvokee(Type componentClass, object component)
{
return null;
}
// Token: 0x04000571 RID: 1393
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000571")]
private string name;
// Token: 0x04000572 RID: 1394
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000572")]
private string displayName;
// Token: 0x04000573 RID: 1395
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000573")]
private int nameHash;
// Token: 0x04000574 RID: 1396
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000574")]
private AttributeCollection attributeCollection;
// Token: 0x04000575 RID: 1397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000575")]
private Attribute[] attributes;
// Token: 0x04000576 RID: 1398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000576")]
private Attribute[] originalAttributes;
// Token: 0x04000577 RID: 1399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000577")]
private bool attributesFiltered;
// Token: 0x04000578 RID: 1400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x41")]
[Token(Token = "0x4000578")]
private bool attributesFilled;
// Token: 0x04000579 RID: 1401
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
[Token(Token = "0x4000579")]
private int metadataVersion;
// Token: 0x0400057A RID: 1402
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400057A")]
private string category;
// Token: 0x0400057B RID: 1403
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400057B")]
private string description;
// Token: 0x0400057C RID: 1404
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400057C")]
private object lockCookie;
}
}