a
This commit is contained in:
@@ -0,0 +1,253 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
/// <summary>Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.</summary>
|
||||
// Token: 0x0200023D RID: 573
|
||||
[Token(Token = "0x200023D")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class CustomAttributeData
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.CustomAttributeData" /> class.</summary>
|
||||
// Token: 0x060014A6 RID: 5286 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60014A6")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
protected CustomAttributeData()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060014A7 RID: 5287 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60014A7")]
|
||||
[Address(RVA = "0x2A046D0", Offset = "0x2A034D0", VA = "0x182A046D0")]
|
||||
internal CustomAttributeData(ConstructorInfo ctorInfo, Assembly assembly, IntPtr data, uint data_length)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060014A8 RID: 5288 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60014A8")]
|
||||
[Address(RVA = "0x2A03F90", Offset = "0x2A02D90", VA = "0x182A03F90")]
|
||||
private static void ResolveArgumentsInternal(ConstructorInfo ctor, Assembly assembly, IntPtr data, uint data_length, out object[] ctorArgs, out object[] namedArgs)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060014A9 RID: 5289 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60014A9")]
|
||||
[Address(RVA = "0x2A03FA0", Offset = "0x2A02DA0", VA = "0x182A03FA0")]
|
||||
private void ResolveArguments()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a <see cref="T:System.Reflection.ConstructorInfo" /> object that represents the constructor that would have initialized the custom attribute.</summary>
|
||||
/// <returns>An object that represents the constructor that would have initialized the custom attribute represented by the current instance of the <see cref="T:System.Reflection.CustomAttributeData" /> class.</returns>
|
||||
// Token: 0x17000222 RID: 546
|
||||
// (get) Token: 0x060014AA RID: 5290 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000222")]
|
||||
[ComVisible(true)]
|
||||
public virtual ConstructorInfo Constructor
|
||||
{
|
||||
[Token(Token = "0x60014AA")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the list of positional arguments specified for the attribute instance represented by the <see cref="T:System.Reflection.CustomAttributeData" /> object.</summary>
|
||||
/// <returns>A collection of structures that represent the positional arguments specified for the custom attribute instance.</returns>
|
||||
// Token: 0x17000223 RID: 547
|
||||
// (get) Token: 0x060014AB RID: 5291 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000223")]
|
||||
[ComVisible(true)]
|
||||
public virtual IList<CustomAttributeTypedArgument> ConstructorArguments
|
||||
{
|
||||
[Token(Token = "0x60014AB")]
|
||||
[Address(RVA = "0x2A04760", Offset = "0x2A03560", VA = "0x182A04760", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the list of named arguments specified for the attribute instance represented by the <see cref="T:System.Reflection.CustomAttributeData" /> object.</summary>
|
||||
/// <returns>A collection of structures that represent the named arguments specified for the custom attribute instance.</returns>
|
||||
// Token: 0x17000224 RID: 548
|
||||
// (get) Token: 0x060014AC RID: 5292 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000224")]
|
||||
public virtual IList<CustomAttributeNamedArgument> NamedArguments
|
||||
{
|
||||
[Token(Token = "0x60014AC")]
|
||||
[Address(RVA = "0x2A04780", Offset = "0x2A03580", VA = "0x182A04780", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target assembly.</summary>
|
||||
/// <param name="target">The assembly whose custom attribute data is to be retrieved.</param>
|
||||
/// <returns>A list of objects that represent data about the attributes that have been applied to the target assembly.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="target" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060014AD RID: 5293 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014AD")]
|
||||
[Address(RVA = "0x2A03AD0", Offset = "0x2A028D0", VA = "0x182A03AD0")]
|
||||
public static IList<CustomAttributeData> GetCustomAttributes(Assembly target)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <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>
|
||||
/// <param name="target">The member whose attribute data is to be retrieved.</param>
|
||||
/// <returns>A list of objects that represent data about the attributes that have been applied to the target member.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="target" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060014AE RID: 5294 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014AE")]
|
||||
[Address(RVA = "0x2A03B30", Offset = "0x2A02930", VA = "0x182A03B30")]
|
||||
public static IList<CustomAttributeData> GetCustomAttributes(MemberInfo target)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060014AF RID: 5295 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014AF")]
|
||||
[Address(RVA = "0x2A039B0", Offset = "0x2A027B0", VA = "0x182A039B0")]
|
||||
internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeType target)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target module.</summary>
|
||||
/// <param name="target">The module whose custom attribute data is to be retrieved.</param>
|
||||
/// <returns>A list of objects that represent data about the attributes that have been applied to the target module.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="target" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060014B0 RID: 5296 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014B0")]
|
||||
[Address(RVA = "0x2A03A70", Offset = "0x2A02870", VA = "0x182A03A70")]
|
||||
public static IList<CustomAttributeData> GetCustomAttributes(Module target)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target parameter.</summary>
|
||||
/// <param name="target">The parameter whose attribute data is to be retrieved.</param>
|
||||
/// <returns>A list of objects that represent data about the attributes that have been applied to the target parameter.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="target" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060014B1 RID: 5297 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014B1")]
|
||||
[Address(RVA = "0x2A03A10", Offset = "0x2A02810", VA = "0x182A03A10")]
|
||||
public static IList<CustomAttributeData> GetCustomAttributes(ParameterInfo target)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the type of the attribute.</summary>
|
||||
/// <returns>The type of the attribute.</returns>
|
||||
// Token: 0x17000225 RID: 549
|
||||
// (get) Token: 0x060014B2 RID: 5298 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000225")]
|
||||
public Type AttributeType
|
||||
{
|
||||
[Token(Token = "0x60014B2")]
|
||||
[Address(RVA = "0x5F5ED0", Offset = "0x5F4CD0", VA = "0x1805F5ED0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a string representation of the custom attribute.</summary>
|
||||
/// <returns>A string value that represents the custom attribute.</returns>
|
||||
// Token: 0x060014B3 RID: 5299 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014B3")]
|
||||
[Address(RVA = "0x2A040E0", Offset = "0x2A02EE0", VA = "0x182A040E0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060014B4 RID: 5300 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60014B4")]
|
||||
[Address(RVA = "0x2383BA0", Offset = "0x23829A0", VA = "0x182383BA0")]
|
||||
private static T[] UnboxValues<T>(object[] values)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <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" /> is equal to the current instance; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x060014B5 RID: 5301 RVA: 0x0000F258 File Offset: 0x0000D458
|
||||
[Token(Token = "0x60014B5")]
|
||||
[Address(RVA = "0x2A03630", Offset = "0x2A02430", VA = "0x182A03630", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Serves as a hash function for a particular type.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Object" />.</returns>
|
||||
// Token: 0x060014B6 RID: 5302 RVA: 0x0000F270 File Offset: 0x0000D470
|
||||
[Token(Token = "0x60014B6")]
|
||||
[Address(RVA = "0x2A03B90", Offset = "0x2A02990", VA = "0x182A03B90", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04000B1A RID: 2842
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000B1A")]
|
||||
private ConstructorInfo ctorInfo;
|
||||
|
||||
// Token: 0x04000B1B RID: 2843
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000B1B")]
|
||||
private IList<CustomAttributeTypedArgument> ctorArgs;
|
||||
|
||||
// Token: 0x04000B1C RID: 2844
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000B1C")]
|
||||
private IList<CustomAttributeNamedArgument> namedArgs;
|
||||
|
||||
// Token: 0x04000B1D RID: 2845
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000B1D")]
|
||||
private CustomAttributeData.LazyCAttrData lazyData;
|
||||
|
||||
// Token: 0x0200023E RID: 574
|
||||
[Token(Token = "0x200023E")]
|
||||
private class LazyCAttrData
|
||||
{
|
||||
// Token: 0x060014B7 RID: 5303 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60014B7")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
public LazyCAttrData()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000B1E RID: 2846
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000B1E")]
|
||||
internal Assembly assembly;
|
||||
|
||||
// Token: 0x04000B1F RID: 2847
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000B1F")]
|
||||
internal IntPtr data;
|
||||
|
||||
// Token: 0x04000B20 RID: 2848
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000B20")]
|
||||
internal uint data_length;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user