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: 0x0200021F RID: 543
[Token(Token = "0x200021F")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
[ComVisible(true)]
[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: 0x0600140A RID: 5130 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600140A")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DefaultMemberAttribute(string memberName)
{
}
/// Gets the name from the attribute.
/// A string representing the member name.
// Token: 0x17000201 RID: 513
// (get) Token: 0x0600140B RID: 5131 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000201")]
public string MemberName
{
[Token(Token = "0x600140B")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
// Token: 0x04000A4B RID: 2635
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000A4B")]
private string m_memberName;
}
}