Files
2026-04-10 22:50:51 +02:00

69 lines
2.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies the default property for a component.</summary>
// Token: 0x02000112 RID: 274
[Token(Token = "0x2000112")]
[AttributeUsage(AttributeTargets.Class)]
public sealed class DefaultPropertyAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultPropertyAttribute" /> class.</summary>
/// <param name="name">The name of the default property for the component this attribute is bound to.</param>
// Token: 0x060006AF RID: 1711 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006AF")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public DefaultPropertyAttribute(string name)
{
}
/// <summary>Gets the name of the default property for the component this attribute is bound to.</summary>
/// <returns>The name of the default property for the component this attribute is bound to. The default value is <see langword="null" />.</returns>
// Token: 0x1700012F RID: 303
// (get) Token: 0x060006B0 RID: 1712 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012F")]
public string Name
{
[Token(Token = "0x60006B0")]
[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.DefaultPropertyAttribute" />.</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: 0x060006B1 RID: 1713 RVA: 0x00004A10 File Offset: 0x00002C10
[Token(Token = "0x60006B1")]
[Address(RVA = "0x4E7340", Offset = "0x4E6140", VA = "0x1804E7340", 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: 0x060006B2 RID: 1714 RVA: 0x00004A28 File Offset: 0x00002C28
[Token(Token = "0x60006B2")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004B2 RID: 1202
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004B2")]
private readonly string name;
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.DefaultPropertyAttribute" />, which is <see langword="null" />. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004B3 RID: 1203
[Token(Token = "0x40004B3")]
public static readonly DefaultPropertyAttribute Default;
}
}