m
This commit is contained in:
@@ -0,0 +1,213 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
/// <summary>Obtains information about the attributes of a member and provides access to member metadata.</summary>
|
||||
// Token: 0x0200022B RID: 555
|
||||
[Token(Token = "0x200022B")]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[ComVisible(true)]
|
||||
[ComDefaultInterface(typeof(_MemberInfo))]
|
||||
[Serializable]
|
||||
public abstract class MemberInfo : ICustomAttributeProvider, _MemberInfo
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.MemberInfo" /> class.</summary>
|
||||
// Token: 0x0600141C RID: 5148 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600141C")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected MemberInfo()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a <see cref="T:System.Reflection.MemberTypes" /> value indicating the type of the member - method, constructor, event, and so on.</summary>
|
||||
/// <returns>A <see cref="T:System.Reflection.MemberTypes" /> value indicating the type of member.</returns>
|
||||
// Token: 0x17000205 RID: 517
|
||||
// (get) Token: 0x0600141D RID: 5149
|
||||
[Token(Token = "0x17000205")]
|
||||
public abstract MemberTypes MemberType
|
||||
{
|
||||
[Token(Token = "0x600141D")]
|
||||
[Address(Slot = "7")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets the name of the current member.</summary>
|
||||
/// <returns>A <see cref="T:System.String" /> containing the name of this member.</returns>
|
||||
// Token: 0x17000206 RID: 518
|
||||
// (get) Token: 0x0600141E RID: 5150
|
||||
[Token(Token = "0x17000206")]
|
||||
public abstract string Name
|
||||
{
|
||||
[Token(Token = "0x600141E")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets the class that declares this member.</summary>
|
||||
/// <returns>The <see langword="Type" /> object for the class that declares this member.</returns>
|
||||
// Token: 0x17000207 RID: 519
|
||||
// (get) Token: 0x0600141F RID: 5151
|
||||
[Token(Token = "0x17000207")]
|
||||
public abstract Type DeclaringType
|
||||
{
|
||||
[Token(Token = "0x600141F")]
|
||||
[Address(Slot = "9")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets the class object that was used to obtain this instance of <see langword="MemberInfo" />.</summary>
|
||||
/// <returns>The <see langword="Type" /> object through which this <see langword="MemberInfo" /> object was obtained.</returns>
|
||||
// Token: 0x17000208 RID: 520
|
||||
// (get) Token: 0x06001420 RID: 5152
|
||||
[Token(Token = "0x17000208")]
|
||||
public abstract Type ReflectedType
|
||||
{
|
||||
[Token(Token = "0x6001420")]
|
||||
[Address(Slot = "10")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets a collection that contains this member's custom attributes.</summary>
|
||||
/// <returns>A collection that contains this member's custom attributes.</returns>
|
||||
// Token: 0x17000209 RID: 521
|
||||
// (get) Token: 0x06001421 RID: 5153 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000209")]
|
||||
public virtual IEnumerable<CustomAttributeData> CustomAttributes
|
||||
{
|
||||
[Token(Token = "0x6001421")]
|
||||
[Address(RVA = "0x9DE1B0", Offset = "0x9DD1B0", VA = "0x1809DE1B0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, returns an array of all custom attributes applied to this member.</summary>
|
||||
/// <param name="inherit">
|
||||
/// <see langword="true" /> to search this member's inheritance chain to find the attributes; otherwise, <see langword="false" />. This parameter is ignored for properties and events.</param>
|
||||
/// <returns>An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context.</exception>
|
||||
/// <exception cref="T:System.TypeLoadException">A custom attribute type could not be loaded.</exception>
|
||||
// Token: 0x06001422 RID: 5154
|
||||
[Token(Token = "0x6001422")]
|
||||
[Address(Slot = "12")]
|
||||
public abstract object[] GetCustomAttributes(bool inherit);
|
||||
|
||||
/// <summary>When overridden in a derived class, returns an array of custom attributes applied to this member and identified by <see cref="T:System.Type" />.</summary>
|
||||
/// <param name="attributeType">The type of attribute to search for. Only attributes that are assignable to this type are returned.</param>
|
||||
/// <param name="inherit">
|
||||
/// <see langword="true" /> to search this member's inheritance chain to find the attributes; otherwise, <see langword="false" />. This parameter is ignored for properties and events.</param>
|
||||
/// <returns>An array of custom attributes applied to this member, or an array with zero elements if no attributes assignable to <paramref name="attributeType" /> have been applied.</returns>
|
||||
/// <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">If <paramref name="attributeType" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context.</exception>
|
||||
// Token: 0x06001423 RID: 5155
|
||||
[Token(Token = "0x6001423")]
|
||||
[Address(Slot = "13")]
|
||||
public abstract object[] GetCustomAttributes(Type attributeType, bool inherit);
|
||||
|
||||
/// <summary>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.</summary>
|
||||
/// <param name="attributeType">The type of custom attribute to search for. The search includes derived types.</param>
|
||||
/// <param name="inherit">
|
||||
/// <see langword="true" /> to search this member's inheritance chain to find the attributes; otherwise, <see langword="false" />. This parameter is ignored for properties and events.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if one or more instances of <paramref name="attributeType" /> or any of its derived types is applied to this member; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06001424 RID: 5156
|
||||
[Token(Token = "0x6001424")]
|
||||
[Address(Slot = "14")]
|
||||
public abstract bool IsDefined(Type attributeType, bool inherit);
|
||||
|
||||
/// <summary>Returns a list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target member.</summary>
|
||||
/// <returns>A generic list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target member.</returns>
|
||||
// Token: 0x06001425 RID: 5157 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001425")]
|
||||
[Address(RVA = "0x30BB660", Offset = "0x30BA660", VA = "0x1830BB660", Slot = "15")]
|
||||
public virtual IList<CustomAttributeData> GetCustomAttributesData()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that identifies a metadata element.</summary>
|
||||
/// <returns>A value which, in combination with <see cref="P:System.Reflection.MemberInfo.Module" />, uniquely identifies a metadata element.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The current <see cref="T:System.Reflection.MemberInfo" /> represents an array method, such as <see langword="Address" />, 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 <see cref="T:System.Reflection.MemberInfo" /> object to the <see cref="M:System.Reflection.Emit.ModuleBuilder.GetMethodToken(System.Reflection.MethodInfo)" /> method; or use the <see cref="M:System.Reflection.Emit.ModuleBuilder.GetArrayMethodToken(System.Type,System.String,System.Reflection.CallingConventions,System.Type,System.Type[])" /> method to get the token directly, instead of using the <see cref="M:System.Reflection.Emit.ModuleBuilder.GetArrayMethod(System.Type,System.String,System.Reflection.CallingConventions,System.Type,System.Type[])" /> method to get a <see cref="T:System.Reflection.MethodInfo" /> first.</exception>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the module in which the type that declares the member represented by the current <see cref="T:System.Reflection.MemberInfo" /> is defined.</summary>
|
||||
/// <returns>The <see cref="T:System.Reflection.Module" /> in which the type that declares the member represented by the current <see cref="T:System.Reflection.MemberInfo" /> is defined.</returns>
|
||||
/// <exception cref="T:System.NotImplementedException">This method is not implemented.</exception>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether two <see cref="T:System.Reflection.MemberInfo" /> objects are equal.</summary>
|
||||
/// <param name="left">The <see cref="T:System.Reflection.MemberInfo" /> to compare to <paramref name="right" />.</param>
|
||||
/// <param name="right">The <see cref="T:System.Reflection.MemberInfo" /> to compare to <paramref name="left" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="left" /> is equal to <paramref name="right" />; otherwise <see langword="false" />.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether two <see cref="T:System.Reflection.MemberInfo" /> objects are not equal.</summary>
|
||||
/// <param name="left">The <see cref="T:System.Reflection.MemberInfo" /> to compare to <paramref name="right" />.</param>
|
||||
/// <param name="right">The <see cref="T:System.Reflection.MemberInfo" /> to compare to <paramref name="left" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="left" /> is not equal to <paramref name="right" />; otherwise <see langword="false" />.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
|
||||
/// <param name="obj">An object to compare with this instance, or <see langword="null" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Returns the hash code for this instance.</summary>
|
||||
/// <returns>A 32-bit signed integer hash code.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user