using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Specifies the default event for a component.
// Token: 0x02000111 RID: 273
[Token(Token = "0x2000111")]
[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: 0x060006AA RID: 1706 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006AA")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
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: 0x1700012E RID: 302
// (get) Token: 0x060006AB RID: 1707 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012E")]
public string Name
{
[Token(Token = "0x60006AB")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
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: 0x060006AC RID: 1708 RVA: 0x000049E0 File Offset: 0x00002BE0
[Token(Token = "0x60006AC")]
[Address(RVA = "0x4E7270", Offset = "0x4E6070", VA = "0x1804E7270", 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: 0x060006AD RID: 1709 RVA: 0x000049F8 File Offset: 0x00002BF8
[Token(Token = "0x60006AD")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004B0 RID: 1200
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004B0")]
private readonly string name;
/// Specifies the default value for the , which is . This field is read-only.
// Token: 0x040004B1 RID: 1201
[Token(Token = "0x40004B1")]
public static readonly DefaultEventAttribute Default;
}
}