Files
Apr2020-Cpp2Il-Dump/System/ComponentModel/BrowsableAttribute.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

92 lines
3.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies whether a property or event should be displayed in a Properties window.</summary>
// Token: 0x020000F1 RID: 241
[Token(Token = "0x20000F1")]
[AttributeUsage(AttributeTargets.All)]
public sealed class BrowsableAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BrowsableAttribute" /> class.</summary>
/// <param name="browsable">
/// <see langword="true" /> if a property or event can be modified at design time; otherwise, <see langword="false" />. The default is <see langword="true" />.</param>
// Token: 0x060005E6 RID: 1510 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60005E6")]
[Address(RVA = "0x495A20", Offset = "0x494820", VA = "0x180495A20")]
public BrowsableAttribute(bool browsable)
{
}
/// <summary>Gets a value indicating whether an object is browsable.</summary>
/// <returns>
/// <see langword="true" /> if the object is browsable; otherwise, <see langword="false" />.</returns>
// Token: 0x170000FC RID: 252
// (get) Token: 0x060005E7 RID: 1511 RVA: 0x00004590 File Offset: 0x00002790
[Token(Token = "0x170000FC")]
public bool Browsable
{
[Token(Token = "0x60005E7")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
/// <summary>Indicates whether this instance and a specified object are equal.</summary>
/// <param name="obj">Another object to compare to.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060005E8 RID: 1512 RVA: 0x000045A8 File Offset: 0x000027A8
[Token(Token = "0x60005E8")]
[Address(RVA = "0x495880", Offset = "0x494680", VA = "0x180495880", 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: 0x060005E9 RID: 1513 RVA: 0x000045C0 File Offset: 0x000027C0
[Token(Token = "0x60005E9")]
[Address(RVA = "0x494E40", Offset = "0x493C40", VA = "0x180494E40", 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: 0x060005EA RID: 1514 RVA: 0x000045D8 File Offset: 0x000027D8
[Token(Token = "0x60005EA")]
[Address(RVA = "0x495900", Offset = "0x494700", VA = "0x180495900", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Specifies that a property or event can be modified at design time. This <see langword="static" /> field is read-only.</summary>
// Token: 0x0400046B RID: 1131
[Token(Token = "0x400046B")]
public static readonly BrowsableAttribute Yes;
/// <summary>Specifies that a property or event cannot be modified at design time. This <see langword="static" /> field is read-only.</summary>
// Token: 0x0400046C RID: 1132
[Token(Token = "0x400046C")]
public static readonly BrowsableAttribute No;
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.BrowsableAttribute" />, which is <see cref="F:System.ComponentModel.BrowsableAttribute.Yes" />. This <see langword="static" /> field is read-only.</summary>
// Token: 0x0400046D RID: 1133
[Token(Token = "0x400046D")]
public static readonly BrowsableAttribute Default;
// Token: 0x0400046E RID: 1134
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400046E")]
private bool browsable;
}
}