using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Specifies the default event for a component.
// Token: 0x0200010D RID: 269
[Token(Token = "0x200010D")]
[AttributeUsage(AttributeTargets.Class)]
public sealed class DefaultEventAttribute : Attribute
{
/// Initializes a new instance of the class.
/// The name of the default event for the component this attribute is bound to.
// Token: 0x06000694 RID: 1684 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000694")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DefaultEventAttribute(string name)
{
}
/// Gets the name of the default event for the component this attribute is bound to.
/// The name of the default event for the component this attribute is bound to. The default value is .
// Token: 0x1700012A RID: 298
// (get) Token: 0x06000695 RID: 1685 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012A")]
public string Name
{
[Token(Token = "0x6000695")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// Returns whether the value of the given object is equal to the current .
/// The object to test the value equality of.
///
/// if the value of the given object is equal to that of the current; otherwise, .
// Token: 0x06000696 RID: 1686 RVA: 0x000049C8 File Offset: 0x00002BC8
[Token(Token = "0x6000696")]
[Address(RVA = "0xC516C0", Offset = "0xC506C0", VA = "0x180C516C0", 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: 0x06000697 RID: 1687 RVA: 0x000049E0 File Offset: 0x00002BE0
[Token(Token = "0x6000697")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004A3 RID: 1187
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004A3")]
private readonly string name;
/// Specifies the default value for the , which is . This field is read-only.
// Token: 0x040004A4 RID: 1188
[Token(Token = "0x40004A4")]
public static readonly DefaultEventAttribute Default;
}
}