Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/ParenthesizePropertyNameAttribute.cs
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020001AE RID: 430
[Token(Token = "0x20001AE")]
[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: 0x06000BD2 RID: 3026 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BD2")]
[Address(RVA = "0xC67AB0", Offset = "0xC66AB0", VA = "0x180C67AB0")]
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: 0x06000BD3 RID: 3027 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BD3")]
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
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: 0x17000229 RID: 553
// (get) Token: 0x06000BD4 RID: 3028 RVA: 0x00006738 File Offset: 0x00004938
[Token(Token = "0x17000229")]
public bool NeedParenthesis
{
[Token(Token = "0x6000BD4")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
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: 0x06000BD5 RID: 3029 RVA: 0x00006750 File Offset: 0x00004950
[Token(Token = "0x6000BD5")]
[Address(RVA = "0xC67950", Offset = "0xC66950", VA = "0x180C67950", 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: 0x06000BD6 RID: 3030 RVA: 0x00006768 File Offset: 0x00004968
[Token(Token = "0x6000BD6")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", 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: 0x06000BD7 RID: 3031 RVA: 0x00006780 File Offset: 0x00004980
[Token(Token = "0x6000BD7")]
[Address(RVA = "0xC679E0", Offset = "0xC669E0", VA = "0x180C679E0", 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: 0x0400062E RID: 1582
[Token(Token = "0x400062E")]
public static readonly ParenthesizePropertyNameAttribute Default;
// Token: 0x0400062F RID: 1583
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400062F")]
private bool needParenthesis;
}
}