Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Reflection/CustomAttributeData.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

254 lines
11 KiB
C#

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: 0x02000244 RID: 580
[Token(Token = "0x2000244")]
[ComVisible(true)]
[Serializable]
public class CustomAttributeData
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.CustomAttributeData" /> class.</summary>
// Token: 0x060014E5 RID: 5349 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014E5")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected CustomAttributeData()
{
}
// Token: 0x060014E6 RID: 5350 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014E6")]
[Address(RVA = "0x30B6810", Offset = "0x30B5810", VA = "0x1830B6810")]
internal CustomAttributeData(ConstructorInfo ctorInfo, Assembly assembly, IntPtr data, uint data_length)
{
}
// Token: 0x060014E7 RID: 5351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014E7")]
[Address(RVA = "0x30B60D0", Offset = "0x30B50D0", VA = "0x1830B60D0")]
private static void ResolveArgumentsInternal(ConstructorInfo ctor, Assembly assembly, IntPtr data, uint data_length, out object[] ctorArgs, out object[] namedArgs)
{
}
// Token: 0x060014E8 RID: 5352 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014E8")]
[Address(RVA = "0x30B60E0", Offset = "0x30B50E0", VA = "0x1830B60E0")]
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: 0x1700022D RID: 557
// (get) Token: 0x060014E9 RID: 5353 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700022D")]
[ComVisible(true)]
public virtual ConstructorInfo Constructor
{
[Token(Token = "0x60014E9")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", 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: 0x1700022E RID: 558
// (get) Token: 0x060014EA RID: 5354 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700022E")]
[ComVisible(true)]
public virtual IList<CustomAttributeTypedArgument> ConstructorArguments
{
[Token(Token = "0x60014EA")]
[Address(RVA = "0x30B68C0", Offset = "0x30B58C0", VA = "0x1830B68C0", 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: 0x1700022F RID: 559
// (get) Token: 0x060014EB RID: 5355 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700022F")]
public virtual IList<CustomAttributeNamedArgument> NamedArguments
{
[Token(Token = "0x60014EB")]
[Address(RVA = "0x30B68E0", Offset = "0x30B58E0", VA = "0x1830B68E0", 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: 0x060014EC RID: 5356 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EC")]
[Address(RVA = "0x30B5C10", Offset = "0x30B4C10", VA = "0x1830B5C10")]
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: 0x060014ED RID: 5357 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014ED")]
[Address(RVA = "0x30B5C70", Offset = "0x30B4C70", VA = "0x1830B5C70")]
public static IList<CustomAttributeData> GetCustomAttributes(MemberInfo target)
{
return null;
}
// Token: 0x060014EE RID: 5358 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EE")]
[Address(RVA = "0x30B5AF0", Offset = "0x30B4AF0", VA = "0x1830B5AF0")]
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: 0x060014EF RID: 5359 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EF")]
[Address(RVA = "0x30B5BB0", Offset = "0x30B4BB0", VA = "0x1830B5BB0")]
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: 0x060014F0 RID: 5360 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014F0")]
[Address(RVA = "0x30B5B50", Offset = "0x30B4B50", VA = "0x1830B5B50")]
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: 0x17000230 RID: 560
// (get) Token: 0x060014F1 RID: 5361 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000230")]
public Type AttributeType
{
[Token(Token = "0x60014F1")]
[Address(RVA = "0x4DB080", Offset = "0x4DA080", VA = "0x1804DB080")]
get
{
return null;
}
}
/// <summary>Returns a string representation of the custom attribute.</summary>
/// <returns>A string value that represents the custom attribute.</returns>
// Token: 0x060014F2 RID: 5362 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014F2")]
[Address(RVA = "0x30B6220", Offset = "0x30B5220", VA = "0x1830B6220", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060014F3 RID: 5363 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014F3")]
[Address(RVA = "0x293A810", Offset = "0x2939810", VA = "0x18293A810")]
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: 0x060014F4 RID: 5364 RVA: 0x0000F5B8 File Offset: 0x0000D7B8
[Token(Token = "0x60014F4")]
[Address(RVA = "0x30B5770", Offset = "0x30B4770", VA = "0x1830B5770", 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: 0x060014F5 RID: 5365 RVA: 0x0000F5D0 File Offset: 0x0000D7D0
[Token(Token = "0x60014F5")]
[Address(RVA = "0x30B5CD0", Offset = "0x30B4CD0", VA = "0x1830B5CD0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000B24 RID: 2852
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B24")]
private ConstructorInfo ctorInfo;
// Token: 0x04000B25 RID: 2853
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000B25")]
private IList<CustomAttributeTypedArgument> ctorArgs;
// Token: 0x04000B26 RID: 2854
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000B26")]
private IList<CustomAttributeNamedArgument> namedArgs;
// Token: 0x04000B27 RID: 2855
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000B27")]
private CustomAttributeData.LazyCAttrData lazyData;
// Token: 0x02000245 RID: 581
[Token(Token = "0x2000245")]
private class LazyCAttrData
{
// Token: 0x060014F6 RID: 5366 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014F6")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public LazyCAttrData()
{
}
// Token: 0x04000B28 RID: 2856
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B28")]
internal Assembly assembly;
// Token: 0x04000B29 RID: 2857
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000B29")]
internal IntPtr data;
// Token: 0x04000B2A RID: 2858
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000B2A")]
internal uint data_length;
}
}
}