Files
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x02000115 RID: 277
[Token(Token = "0x2000115")]
[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: 0x060006CE RID: 1742 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006CE")]
[Address(RVA = "0x4E8100", Offset = "0x4E6F00", VA = "0x1804E8100")]
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: 0x060006CF RID: 1743 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006CF")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public DescriptionAttribute(string description)
{
}
/// <summary>Gets the description stored in this attribute.</summary>
/// <returns>The description stored in this attribute.</returns>
// Token: 0x17000132 RID: 306
// (get) Token: 0x060006D0 RID: 1744 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000132")]
public virtual string Description
{
[Token(Token = "0x60006D0")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", 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: 0x17000133 RID: 307
// (get) Token: 0x060006D1 RID: 1745 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060006D2 RID: 1746 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000133")]
protected string DescriptionValue
{
[Token(Token = "0x60006D1")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
[Token(Token = "0x60006D2")]
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
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: 0x060006D3 RID: 1747 RVA: 0x00004A88 File Offset: 0x00002C88
[Token(Token = "0x60006D3")]
[Address(RVA = "0x4E7EF0", Offset = "0x4E6CF0", VA = "0x1804E7EF0", 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: 0x060006D4 RID: 1748 RVA: 0x00004AA0 File Offset: 0x00002CA0
[Token(Token = "0x60006D4")]
[Address(RVA = "0x4E7FC0", Offset = "0x4E6DC0", VA = "0x1804E7FC0", 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: 0x060006D5 RID: 1749 RVA: 0x00004AB8 File Offset: 0x00002CB8
[Token(Token = "0x60006D5")]
[Address(RVA = "0x4E8000", Offset = "0x4E6E00", VA = "0x1804E8000", 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: 0x040004B6 RID: 1206
[Token(Token = "0x40004B6")]
public static readonly DescriptionAttribute Default;
// Token: 0x040004B7 RID: 1207
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004B7")]
private string description;
}
}