109 lines
4.3 KiB
C#
109 lines
4.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies the display name for a property, event, or public void method which takes no arguments.</summary>
|
|
// Token: 0x02000118 RID: 280
|
|
[Token(Token = "0x2000118")]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event)]
|
|
public class DisplayNameAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DisplayNameAttribute" /> class.</summary>
|
|
// Token: 0x060006E6 RID: 1766 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006E6")]
|
|
[Address(RVA = "0xC536C0", Offset = "0xC526C0", VA = "0x180C536C0")]
|
|
public DisplayNameAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DisplayNameAttribute" /> class using the display name.</summary>
|
|
/// <param name="displayName">The display name.</param>
|
|
// Token: 0x060006E7 RID: 1767 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006E7")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public DisplayNameAttribute(string displayName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the display name for a property, event, or public void method that takes no arguments stored in this attribute.</summary>
|
|
/// <returns>The display name.</returns>
|
|
// Token: 0x17000138 RID: 312
|
|
// (get) Token: 0x060006E8 RID: 1768 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000138")]
|
|
public virtual string DisplayName
|
|
{
|
|
[Token(Token = "0x60006E8")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the display name.</summary>
|
|
/// <returns>The display name.</returns>
|
|
// Token: 0x17000139 RID: 313
|
|
// (get) Token: 0x060006E9 RID: 1769 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060006EA RID: 1770 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000139")]
|
|
protected string DisplayNameValue
|
|
{
|
|
[Token(Token = "0x60006E9")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60006EA")]
|
|
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Determines whether two <see cref="T:System.ComponentModel.DisplayNameAttribute" /> instances are equal.</summary>
|
|
/// <param name="obj">The <see cref="T:System.ComponentModel.DisplayNameAttribute" /> 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 object; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006EB RID: 1771 RVA: 0x00004C50 File Offset: 0x00002E50
|
|
[Token(Token = "0x60006EB")]
|
|
[Address(RVA = "0xC534F0", Offset = "0xC524F0", VA = "0x180C534F0", Slot = "0")]
|
|
public override bool Equals(object obj)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.DisplayNameAttribute" />.</returns>
|
|
// Token: 0x060006EC RID: 1772 RVA: 0x00004C68 File Offset: 0x00002E68
|
|
[Token(Token = "0x60006EC")]
|
|
[Address(RVA = "0x654220", Offset = "0x653220", VA = "0x180654220", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Determines if this attribute is the default.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006ED RID: 1773 RVA: 0x00004C80 File Offset: 0x00002E80
|
|
[Token(Token = "0x60006ED")]
|
|
[Address(RVA = "0xC535C0", Offset = "0xC525C0", VA = "0x180C535C0", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.DisplayNameAttribute" />. This field is read-only.</summary>
|
|
// Token: 0x040004C5 RID: 1221
|
|
[Token(Token = "0x40004C5")]
|
|
public static readonly DisplayNameAttribute Default;
|
|
|
|
// Token: 0x040004C6 RID: 1222
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40004C6")]
|
|
private string _displayName;
|
|
}
|
|
}
|