Files
2026-04-10 22:50:51 +02:00

101 lines
4.4 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Represents a named argument of a custom attribute in the reflection-only context.</summary>
// Token: 0x02000240 RID: 576
[Token(Token = "0x2000240")]
[ComVisible(true)]
[Serializable]
public struct CustomAttributeNamedArgument
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> class, which represents the specified field or property of the custom attribute, and specifies the value of the field or property.</summary>
/// <param name="memberInfo">A field or property of the custom attribute. The new <see cref="T:System.Reflection.CustomAttributeNamedArgument" /> object represents this member and its value.</param>
/// <param name="value">The value of the field or property of the custom attribute.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="memberInfo" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="memberInfo" /> is not a field or property of the custom attribute.</exception>
// Token: 0x060014BB RID: 5307 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014BB")]
[Address(RVA = "0x2A04A20", Offset = "0x2A03820", VA = "0x182A04A20")]
public CustomAttributeNamedArgument(MemberInfo memberInfo, object value)
{
}
/// <summary>Gets the attribute member that would be used to set the named argument.</summary>
/// <returns>The attribute member that would be used to set the named argument.</returns>
// Token: 0x17000226 RID: 550
// (get) Token: 0x060014BC RID: 5308 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000226")]
public MemberInfo MemberInfo
{
[Token(Token = "0x60014BC")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets a <see cref="T:System.Reflection.CustomAttributeTypedArgument" /> structure that can be used to obtain the type and value of the current named argument.</summary>
/// <returns>A structure that can be used to obtain the type and value of the current named argument.</returns>
// Token: 0x17000227 RID: 551
// (get) Token: 0x060014BD RID: 5309 RVA: 0x0000F288 File Offset: 0x0000D488
[Token(Token = "0x17000227")]
public CustomAttributeTypedArgument TypedValue
{
[Token(Token = "0x60014BD")]
[Address(RVA = "0x723D40", Offset = "0x722B40", VA = "0x180723D40")]
get
{
return default(CustomAttributeTypedArgument);
}
}
/// <summary>Returns a string that consists of the argument name, the equal sign, and a string representation of the argument value.</summary>
/// <returns>A string that consists of the argument name, the equal sign, and a string representation of the argument value.</returns>
// Token: 0x060014BE RID: 5310 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014BE")]
[Address(RVA = "0x2A049A0", Offset = "0x2A037A0", VA = "0x182A049A0", Slot = "3")]
public override string ToString()
{
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" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060014BF RID: 5311 RVA: 0x0000F2A0 File Offset: 0x0000D4A0
[Token(Token = "0x60014BF")]
[Address(RVA = "0x2A04830", Offset = "0x2A03630", VA = "0x182A04830", 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: 0x060014C0 RID: 5312 RVA: 0x0000F2B8 File Offset: 0x0000D4B8
[Token(Token = "0x60014C0")]
[Address(RVA = "0x2A04910", Offset = "0x2A03710", VA = "0x182A04910", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000B21 RID: 2849
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000B21")]
private CustomAttributeTypedArgument typedArgument;
// Token: 0x04000B22 RID: 2850
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B22")]
private MemberInfo memberInfo;
}
}