using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Represents a named argument of a custom attribute in the reflection-only context. // Token: 0x02000240 RID: 576 [Token(Token = "0x2000240")] [ComVisible(true)] [Serializable] public struct CustomAttributeNamedArgument { /// Initializes a new instance of the class, which represents the specified field or property of the custom attribute, and specifies the value of the field or property. /// A field or property of the custom attribute. The new object represents this member and its value. /// The value of the field or property of the custom attribute. /// /// is . /// /// is not a field or property of the custom attribute. // 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) { } /// Gets the attribute member that would be used to set the named argument. /// The attribute member that would be used to set the named argument. // 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; } } /// Gets a structure that can be used to obtain the type and value of the current named argument. /// A structure that can be used to obtain the type and value of the current named argument. // 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); } } /// Returns a string that consists of the argument name, the equal sign, and a string representation of the argument value. /// A string that consists of the argument name, the equal sign, and a string representation of the argument value. // 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; } /// 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: 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); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // 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; } }