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: 0x0200017D RID: 381 [Token(Token = "0x200017D")] [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: 0x060009D4 RID: 2516 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60009D4")] [Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")] 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: 0x170001F2 RID: 498 // (get) Token: 0x060009D5 RID: 2517 RVA: 0x00005F10 File Offset: 0x00004110 [Token(Token = "0x170001F2")] public bool IsReadOnly { [Token(Token = "0x60009D5")] [Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")] 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: 0x060009D6 RID: 2518 RVA: 0x00005F28 File Offset: 0x00004128 [Token(Token = "0x60009D6")] [Address(RVA = "0x4C86A0", Offset = "0x4C74A0", VA = "0x1804C86A0", 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: 0x060009D7 RID: 2519 RVA: 0x00005F40 File Offset: 0x00004140 [Token(Token = "0x60009D7")] [Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", 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: 0x060009D8 RID: 2520 RVA: 0x00005F58 File Offset: 0x00004158 [Token(Token = "0x60009D8")] [Address(RVA = "0x4C8720", Offset = "0x4C7520", VA = "0x1804C8720", Slot = "6")] public override bool IsDefaultAttribute() { return default(bool); } // Token: 0x040005A3 RID: 1443 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40005A3")] 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: 0x040005A4 RID: 1444 [Token(Token = "0x40005A4")] 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: 0x040005A5 RID: 1445 [Token(Token = "0x40005A5")] 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: 0x040005A6 RID: 1446 [Token(Token = "0x40005A6")] public static readonly ReadOnlyAttribute Default; } }