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: 0x02000224 RID: 548
[Token(Token = "0x2000224")]
[ComDefaultInterface(typeof(_MemberInfo))]
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Serializable]
public abstract class MemberInfo : ICustomAttributeProvider, _MemberInfo
{
/// Initializes a new instance of the class.
// Token: 0x060013DE RID: 5086 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60013DE")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
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: 0x170001FB RID: 507
// (get) Token: 0x060013DF RID: 5087
[Token(Token = "0x170001FB")]
public abstract MemberTypes MemberType
{
[Token(Token = "0x60013DF")]
[Address(Slot = "7")]
get;
}
/// Gets the name of the current member.
/// A containing the name of this member.
// Token: 0x170001FC RID: 508
// (get) Token: 0x060013E0 RID: 5088
[Token(Token = "0x170001FC")]
public abstract string Name
{
[Token(Token = "0x60013E0")]
[Address(Slot = "8")]
get;
}
/// Gets the class that declares this member.
/// The object for the class that declares this member.
// Token: 0x170001FD RID: 509
// (get) Token: 0x060013E1 RID: 5089
[Token(Token = "0x170001FD")]
public abstract Type DeclaringType
{
[Token(Token = "0x60013E1")]
[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: 0x170001FE RID: 510
// (get) Token: 0x060013E2 RID: 5090
[Token(Token = "0x170001FE")]
public abstract Type ReflectedType
{
[Token(Token = "0x60013E2")]
[Address(Slot = "10")]
get;
}
/// Gets a collection that contains this member's custom attributes.
/// A collection that contains this member's custom attributes.
// Token: 0x170001FF RID: 511
// (get) Token: 0x060013E3 RID: 5091 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001FF")]
public virtual IEnumerable CustomAttributes
{
[Token(Token = "0x60013E3")]
[Address(RVA = "0x579920", Offset = "0x578720", VA = "0x180579920", 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: 0x060013E4 RID: 5092
[Token(Token = "0x60013E4")]
[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: 0x060013E5 RID: 5093
[Token(Token = "0x60013E5")]
[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: 0x060013E6 RID: 5094
[Token(Token = "0x60013E6")]
[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: 0x060013E7 RID: 5095 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013E7")]
[Address(RVA = "0x2A09A10", Offset = "0x2A08810", VA = "0x182A09A10", 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: 0x17000200 RID: 512
// (get) Token: 0x060013E8 RID: 5096 RVA: 0x0000EE08 File Offset: 0x0000D008
[Token(Token = "0x17000200")]
public virtual int MetadataToken
{
[Token(Token = "0x60013E8")]
[Address(RVA = "0x2A09A60", Offset = "0x2A08860", VA = "0x182A09A60", 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: 0x17000201 RID: 513
// (get) Token: 0x060013E9 RID: 5097 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000201")]
public virtual Module Module
{
[Token(Token = "0x60013E9")]
[Address(RVA = "0x2A09A70", Offset = "0x2A08870", VA = "0x182A09A70", 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: 0x060013EA RID: 5098 RVA: 0x0000EE20 File Offset: 0x0000D020
[Token(Token = "0x60013EA")]
[Address(RVA = "0x2A09BA0", Offset = "0x2A089A0", VA = "0x182A09BA0")]
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: 0x060013EB RID: 5099 RVA: 0x0000EE38 File Offset: 0x0000D038
[Token(Token = "0x60013EB")]
[Address(RVA = "0x2A09EB0", Offset = "0x2A08CB0", VA = "0x182A09EB0")]
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: 0x060013EC RID: 5100 RVA: 0x0000EE50 File Offset: 0x0000D050
[Token(Token = "0x60013EC")]
[Address(RVA = "0x4C3A20", Offset = "0x4C2820", VA = "0x1804C3A20", 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: 0x060013ED RID: 5101 RVA: 0x0000EE68 File Offset: 0x0000D068
[Token(Token = "0x60013ED")]
[Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
}