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 property for a component.</summary>
// Token: 0x0200010E RID: 270
[Token(Token = "0x200010E")]
[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: 0x06000699 RID: 1689 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000699")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
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: 0x1700012B RID: 299
// (get) Token: 0x0600069A RID: 1690 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012B")]
public string Name
{
[Token(Token = "0x600069A")]
[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.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: 0x0600069B RID: 1691 RVA: 0x000049F8 File Offset: 0x00002BF8
[Token(Token = "0x600069B")]
[Address(RVA = "0xC51790", Offset = "0xC50790", VA = "0x180C51790", 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: 0x0600069C RID: 1692 RVA: 0x00004A10 File Offset: 0x00002C10
[Token(Token = "0x600069C")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004A5 RID: 1189
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004A5")]
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: 0x040004A6 RID: 1190
[Token(Token = "0x40004A6")]
public static readonly DefaultPropertyAttribute Default;
}
}