using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Specifies whether the property this attribute is bound to is read-only or read/write. This class cannot be inherited // Token: 0x02000179 RID: 377 [Token(Token = "0x2000179")] [AttributeUsage(AttributeTargets.All)] public sealed class ReadOnlyAttribute : Attribute { /// Initializes a new instance of the class. /// /// to show that the property this attribute is bound to is read-only; to show that the property is read/write. // Token: 0x060009BE RID: 2494 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60009BE")] [Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")] public ReadOnlyAttribute(bool isReadOnly) { } /// Gets a value indicating whether the property this attribute is bound to is read-only. /// /// if the property this attribute is bound to is read-only; if the property is read/write. // Token: 0x170001EE RID: 494 // (get) Token: 0x060009BF RID: 2495 RVA: 0x00005EF8 File Offset: 0x000040F8 [Token(Token = "0x170001EE")] public bool IsReadOnly { [Token(Token = "0x60009BF")] [Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")] get { return default(bool); } } /// Indicates whether this instance and a specified object are equal. /// Another object to compare to. /// /// if is equal to this instance; otherwise, . // Token: 0x060009C0 RID: 2496 RVA: 0x00005F10 File Offset: 0x00004110 [Token(Token = "0x60009C0")] [Address(RVA = "0xC184A0", Offset = "0xC174A0", VA = "0x180C184A0", Slot = "0")] public override bool Equals(object value) { return default(bool); } /// Returns the hash code for this instance. /// A hash code for the current . // Token: 0x060009C1 RID: 2497 RVA: 0x00005F28 File Offset: 0x00004128 [Token(Token = "0x60009C1")] [Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")] public override int GetHashCode() { return 0; } /// Determines if this attribute is the default. /// /// if the attribute is the default value for this attribute class; otherwise, . // Token: 0x060009C2 RID: 2498 RVA: 0x00005F40 File Offset: 0x00004140 [Token(Token = "0x60009C2")] [Address(RVA = "0xC18520", Offset = "0xC17520", VA = "0x180C18520", Slot = "6")] public override bool IsDefaultAttribute() { return default(bool); } // Token: 0x04000596 RID: 1430 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000596")] private bool isReadOnly; /// Specifies that the property this attribute is bound to is read-only and cannot be modified in the server explorer. This field is read-only. // Token: 0x04000597 RID: 1431 [Token(Token = "0x4000597")] public static readonly ReadOnlyAttribute Yes; /// Specifies that the property this attribute is bound to is read/write and can be modified. This field is read-only. // Token: 0x04000598 RID: 1432 [Token(Token = "0x4000598")] public static readonly ReadOnlyAttribute No; /// Specifies the default value for the , which is (that is, the property this attribute is bound to is read/write). This field is read-only. // Token: 0x04000599 RID: 1433 [Token(Token = "0x4000599")] public static readonly ReadOnlyAttribute Default; } }