Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/ParenthesizePropertyNameAttribute.cs
2026-04-10 22:50:51 +02:00

90 lines
4.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Indicates whether the name of the associated property is displayed with parentheses in the Properties window. This class cannot be inherited.</summary>
// Token: 0x020001B2 RID: 434
[Token(Token = "0x20001B2")]
[AttributeUsage(AttributeTargets.All)]
public sealed class ParenthesizePropertyNameAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ParenthesizePropertyNameAttribute" /> class that indicates that the associated property should not be shown with parentheses.</summary>
// Token: 0x06000BE8 RID: 3048 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BE8")]
[Address(RVA = "0x4FD760", Offset = "0x4FC560", VA = "0x1804FD760")]
public ParenthesizePropertyNameAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ParenthesizePropertyNameAttribute" /> class, using the specified value to indicate whether the attribute is displayed with parentheses.</summary>
/// <param name="needParenthesis">
/// <see langword="true" /> if the name should be enclosed in parentheses; otherwise, <see langword="false" />.</param>
// Token: 0x06000BE9 RID: 3049 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BE9")]
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
public ParenthesizePropertyNameAttribute(bool needParenthesis)
{
}
/// <summary>Gets a value indicating whether the Properties window displays the name of the property in parentheses in the Properties window.</summary>
/// <returns>
/// <see langword="true" /> if the property is displayed with parentheses; otherwise, <see langword="false" />.</returns>
// Token: 0x1700022D RID: 557
// (get) Token: 0x06000BEA RID: 3050 RVA: 0x00006750 File Offset: 0x00004950
[Token(Token = "0x1700022D")]
public bool NeedParenthesis
{
[Token(Token = "0x6000BEA")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
/// <summary>Compares the specified object to this object and tests for equality.</summary>
/// <param name="o">The object to be compared.</param>
/// <returns>
/// <see langword="true" /> if equal; otherwise, <see langword="false" />.</returns>
// Token: 0x06000BEB RID: 3051 RVA: 0x00006768 File Offset: 0x00004968
[Token(Token = "0x6000BEB")]
[Address(RVA = "0x4FD600", Offset = "0x4FC400", VA = "0x1804FD600", Slot = "0")]
public override bool Equals(object o)
{
return default(bool);
}
/// <summary>Gets the hash code for this object.</summary>
/// <returns>The hash code for the object the attribute belongs to.</returns>
// Token: 0x06000BEC RID: 3052 RVA: 0x00006780 File Offset: 0x00004980
[Token(Token = "0x6000BEC")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Gets a value indicating whether the current value of the attribute is the default value for the attribute.</summary>
/// <returns>
/// <see langword="true" /> if the current value of the attribute is the default value of the attribute; otherwise, <see langword="false" />.</returns>
// Token: 0x06000BED RID: 3053 RVA: 0x00006798 File Offset: 0x00004998
[Token(Token = "0x6000BED")]
[Address(RVA = "0x4FD690", Offset = "0x4FC490", VA = "0x1804FD690", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ParenthesizePropertyNameAttribute" /> class with a default value that indicates that the associated property should not be shown with parentheses. This field is read-only.</summary>
// Token: 0x0400063B RID: 1595
[Token(Token = "0x400063B")]
public static readonly ParenthesizePropertyNameAttribute Default;
// Token: 0x0400063C RID: 1596
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400063C")]
private bool needParenthesis;
}
}