Files
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x02000111 RID: 273
[Token(Token = "0x2000111")]
[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: 0x060006AA RID: 1706 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006AA")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
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: 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;
}
}
/// <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: 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
/// <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: 0x040004B1 RID: 1201
[Token(Token = "0x40004B1")]
public static readonly DefaultEventAttribute Default;
}
}