Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

69 lines
2.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies the default event for a component.</summary>
// Token: 0x0200010D RID: 269
[Token(Token = "0x200010D")]
[AttributeUsage(AttributeTargets.Class)]
public sealed class DefaultEventAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultEventAttribute" /> class.</summary>
/// <param name="name">The name of the default event for the component this attribute is bound to.</param>
// Token: 0x06000694 RID: 1684 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000694")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DefaultEventAttribute(string name)
{
}
/// <summary>Gets the name of the default event for the component this attribute is bound to.</summary>
/// <returns>The name of the default event for the component this attribute is bound to. The default value is <see langword="null" />.</returns>
// 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;
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DefaultEventAttribute" />.</summary>
/// <param name="obj">The object to test the value equality of.</param>
/// <returns>
/// <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.DefaultEventAttribute" />, which is <see langword="null" />. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004A4 RID: 1188
[Token(Token = "0x40004A4")]
public static readonly DefaultEventAttribute Default;
}
}