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

109 lines
4.3 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies a description for a property or event.</summary>
// Token: 0x02000111 RID: 273
[Token(Token = "0x2000111")]
[AttributeUsage(AttributeTargets.All)]
public class DescriptionAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DescriptionAttribute" /> class with no parameters.</summary>
// Token: 0x060006B8 RID: 1720 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006B8")]
[Address(RVA = "0xC52510", Offset = "0xC51510", VA = "0x180C52510")]
public DescriptionAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DescriptionAttribute" /> class with a description.</summary>
/// <param name="description">The description text.</param>
// Token: 0x060006B9 RID: 1721 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006B9")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DescriptionAttribute(string description)
{
}
/// <summary>Gets the description stored in this attribute.</summary>
/// <returns>The description stored in this attribute.</returns>
// Token: 0x1700012E RID: 302
// (get) Token: 0x060006BA RID: 1722 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012E")]
public virtual string Description
{
[Token(Token = "0x60006BA")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
get
{
return null;
}
}
/// <summary>Gets or sets the string stored as the description.</summary>
/// <returns>The string stored as the description. The default value is an empty string ("").</returns>
// Token: 0x1700012F RID: 303
// (get) Token: 0x060006BB RID: 1723 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060006BC RID: 1724 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700012F")]
protected string DescriptionValue
{
[Token(Token = "0x60006BB")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
[Token(Token = "0x60006BC")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set
{
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DescriptionAttribute" />.</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: 0x060006BD RID: 1725 RVA: 0x00004A70 File Offset: 0x00002C70
[Token(Token = "0x60006BD")]
[Address(RVA = "0xC52340", Offset = "0xC51340", VA = "0x180C52340", 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: 0x060006BE RID: 1726 RVA: 0x00004A88 File Offset: 0x00002C88
[Token(Token = "0x60006BE")]
[Address(RVA = "0x654220", Offset = "0x653220", VA = "0x180654220", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns a value indicating whether this is the default <see cref="T:System.ComponentModel.DescriptionAttribute" /> instance.</summary>
/// <returns>
/// <see langword="true" />, if this is the default <see cref="T:System.ComponentModel.DescriptionAttribute" /> instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060006BF RID: 1727 RVA: 0x00004AA0 File Offset: 0x00002CA0
[Token(Token = "0x60006BF")]
[Address(RVA = "0xC52410", Offset = "0xC51410", VA = "0x180C52410", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.DescriptionAttribute" />, which is an empty string (""). This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004A9 RID: 1193
[Token(Token = "0x40004A9")]
public static readonly DescriptionAttribute Default;
// Token: 0x040004AA RID: 1194
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004AA")]
private string description;
}
}