using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Defines the member of a type that is the default member used by . // Token: 0x02000218 RID: 536 [Token(Token = "0x2000218")] [ComVisible(true)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)] [Serializable] public sealed class DefaultMemberAttribute : Attribute { /// Initializes a new instance of the class. /// A containing the name of the member to invoke. This may be a constructor, method, property, or field. A suitable invocation attribute must be specified when the member is invoked. The default member of a class can be specified by passing an empty as the name of the member. /// The default member of a type is marked with the custom attribute or marked in COM in the usual way. // Token: 0x060013CC RID: 5068 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60013CC")] [Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")] public DefaultMemberAttribute(string memberName) { } /// Gets the name from the attribute. /// A string representing the member name. // Token: 0x170001F7 RID: 503 // (get) Token: 0x060013CD RID: 5069 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170001F7")] public string MemberName { [Token(Token = "0x60013CD")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } } // Token: 0x04000A41 RID: 2625 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000A41")] private string m_memberName; } }