using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Obtains information about the attributes of a member and provides access to member metadata. // Token: 0x0200022B RID: 555 [Token(Token = "0x200022B")] [ClassInterface(ClassInterfaceType.None)] [ComVisible(true)] [ComDefaultInterface(typeof(_MemberInfo))] [Serializable] public abstract class MemberInfo : ICustomAttributeProvider, _MemberInfo { /// Initializes a new instance of the class. // Token: 0x0600141C RID: 5148 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600141C")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected MemberInfo() { } /// When overridden in a derived class, gets a value indicating the type of the member - method, constructor, event, and so on. /// A value indicating the type of member. // Token: 0x17000205 RID: 517 // (get) Token: 0x0600141D RID: 5149 [Token(Token = "0x17000205")] public abstract MemberTypes MemberType { [Token(Token = "0x600141D")] [Address(Slot = "7")] get; } /// Gets the name of the current member. /// A containing the name of this member. // Token: 0x17000206 RID: 518 // (get) Token: 0x0600141E RID: 5150 [Token(Token = "0x17000206")] public abstract string Name { [Token(Token = "0x600141E")] [Address(Slot = "8")] get; } /// Gets the class that declares this member. /// The object for the class that declares this member. // Token: 0x17000207 RID: 519 // (get) Token: 0x0600141F RID: 5151 [Token(Token = "0x17000207")] public abstract Type DeclaringType { [Token(Token = "0x600141F")] [Address(Slot = "9")] get; } /// Gets the class object that was used to obtain this instance of . /// The object through which this object was obtained. // Token: 0x17000208 RID: 520 // (get) Token: 0x06001420 RID: 5152 [Token(Token = "0x17000208")] public abstract Type ReflectedType { [Token(Token = "0x6001420")] [Address(Slot = "10")] get; } /// Gets a collection that contains this member's custom attributes. /// A collection that contains this member's custom attributes. // Token: 0x17000209 RID: 521 // (get) Token: 0x06001421 RID: 5153 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000209")] public virtual IEnumerable CustomAttributes { [Token(Token = "0x6001421")] [Address(RVA = "0x9DE1B0", Offset = "0x9DD1B0", VA = "0x1809DE1B0", Slot = "11")] get { return null; } } /// When overridden in a derived class, returns an array of all custom attributes applied to this member. /// /// to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events. /// An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined. /// This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context. /// A custom attribute type could not be loaded. // Token: 0x06001422 RID: 5154 [Token(Token = "0x6001422")] [Address(Slot = "12")] public abstract object[] GetCustomAttributes(bool inherit); /// When overridden in a derived class, returns an array of custom attributes applied to this member and identified by . /// The type of attribute to search for. Only attributes that are assignable to this type are returned. /// /// to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events. /// An array of custom attributes applied to this member, or an array with zero elements if no attributes assignable to have been applied. /// A custom attribute type cannot be loaded. /// If is . /// This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context. // Token: 0x06001423 RID: 5155 [Token(Token = "0x6001423")] [Address(Slot = "13")] public abstract object[] GetCustomAttributes(Type attributeType, bool inherit); /// When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member. /// The type of custom attribute to search for. The search includes derived types. /// /// to search this member's inheritance chain to find the attributes; otherwise, . This parameter is ignored for properties and events. /// /// if one or more instances of or any of its derived types is applied to this member; otherwise, . // Token: 0x06001424 RID: 5156 [Token(Token = "0x6001424")] [Address(Slot = "14")] public abstract bool IsDefined(Type attributeType, bool inherit); /// Returns a list of objects representing data about the attributes that have been applied to the target member. /// A generic list of objects representing data about the attributes that have been applied to the target member. // Token: 0x06001425 RID: 5157 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001425")] [Address(RVA = "0x30BB660", Offset = "0x30BA660", VA = "0x1830BB660", Slot = "15")] public virtual IList GetCustomAttributesData() { return null; } /// Gets a value that identifies a metadata element. /// A value which, in combination with , uniquely identifies a metadata element. /// The current represents an array method, such as , on an array type whose element type is a dynamic type that has not been completed. To get a metadata token in this case, pass the object to the method; or use the method to get the token directly, instead of using the method to get a first. // Token: 0x1700020A RID: 522 // (get) Token: 0x06001426 RID: 5158 RVA: 0x0000F168 File Offset: 0x0000D368 [Token(Token = "0x1700020A")] public virtual int MetadataToken { [Token(Token = "0x6001426")] [Address(RVA = "0x30BB6B0", Offset = "0x30BA6B0", VA = "0x1830BB6B0", Slot = "16")] get { return 0; } } /// Gets the module in which the type that declares the member represented by the current is defined. /// The in which the type that declares the member represented by the current is defined. /// This method is not implemented. // Token: 0x1700020B RID: 523 // (get) Token: 0x06001427 RID: 5159 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700020B")] public virtual Module Module { [Token(Token = "0x6001427")] [Address(RVA = "0x30BB6C0", Offset = "0x30BA6C0", VA = "0x1830BB6C0", Slot = "17")] get { return null; } } /// Indicates whether two objects are equal. /// The to compare to . /// The to compare to . /// /// if is equal to ; otherwise . // Token: 0x06001428 RID: 5160 RVA: 0x0000F180 File Offset: 0x0000D380 [Token(Token = "0x6001428")] [Address(RVA = "0x30BB7F0", Offset = "0x30BA7F0", VA = "0x1830BB7F0")] public static bool operator ==(MemberInfo left, MemberInfo right) { return default(bool); } /// Indicates whether two objects are not equal. /// The to compare to . /// The to compare to . /// /// if is not equal to ; otherwise . // Token: 0x06001429 RID: 5161 RVA: 0x0000F198 File Offset: 0x0000D398 [Token(Token = "0x6001429")] [Address(RVA = "0x30BBB30", Offset = "0x30BAB30", VA = "0x1830BBB30")] public static bool operator !=(MemberInfo left, MemberInfo right) { return default(bool); } /// Returns a value that indicates whether this instance is equal to a specified object. /// An object to compare with this instance, or . /// /// if equals the type and value of this instance; otherwise, . // Token: 0x0600142A RID: 5162 RVA: 0x0000F1B0 File Offset: 0x0000D3B0 [Token(Token = "0x600142A")] [Address(RVA = "0x2112960", Offset = "0x2111960", VA = "0x182112960", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x0600142B RID: 5163 RVA: 0x0000F1C8 File Offset: 0x0000D3C8 [Token(Token = "0x600142B")] [Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", Slot = "2")] public override int GetHashCode() { return 0; } } }