Files
2026-04-10 22:50:51 +02:00

72 lines
3.3 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies that a property or method is viewable in an editor. This class cannot be inherited.</summary>
// Token: 0x02000121 RID: 289
[Token(Token = "0x2000121")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate)]
public sealed class EditorBrowsableAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.EditorBrowsableAttribute" /> class with an <see cref="T:System.ComponentModel.EditorBrowsableState" />.</summary>
/// <param name="state">The <see cref="T:System.ComponentModel.EditorBrowsableState" /> to set <see cref="P:System.ComponentModel.EditorBrowsableAttribute.State" /> to.</param>
// Token: 0x0600071D RID: 1821 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600071D")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public EditorBrowsableAttribute(EditorBrowsableState state)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.EditorBrowsableAttribute" /> class with <see cref="P:System.ComponentModel.EditorBrowsableAttribute.State" /> set to the default state.</summary>
// Token: 0x0600071E RID: 1822 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600071E")]
[Address(RVA = "0x4E9920", Offset = "0x4E8720", VA = "0x1804E9920")]
public EditorBrowsableAttribute()
{
}
/// <summary>Gets the browsable state of the property or method.</summary>
/// <returns>An <see cref="T:System.ComponentModel.EditorBrowsableState" /> that is the browsable state of the property or method.</returns>
// Token: 0x17000145 RID: 325
// (get) Token: 0x0600071F RID: 1823 RVA: 0x00004CF8 File Offset: 0x00002EF8
[Token(Token = "0x17000145")]
public EditorBrowsableState State
{
[Token(Token = "0x600071F")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return EditorBrowsableState.Always;
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.EditorBrowsableAttribute" />.</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: 0x06000720 RID: 1824 RVA: 0x00004D10 File Offset: 0x00002F10
[Token(Token = "0x6000720")]
[Address(RVA = "0x4E98A0", Offset = "0x4E86A0", VA = "0x1804E98A0", 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: 0x06000721 RID: 1825 RVA: 0x00004D28 File Offset: 0x00002F28
[Token(Token = "0x6000721")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004D9 RID: 1241
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004D9")]
private EditorBrowsableState browsableState;
}
}