using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Specifies whether a property can only be set at design time. // Token: 0x02000116 RID: 278 [Token(Token = "0x2000116")] [AttributeUsage(AttributeTargets.All)] public sealed class DesignOnlyAttribute : Attribute { /// Initializes a new instance of the class. /// /// if a property can be set only at design time; if the property can be set at design time and at run time. // Token: 0x060006D7 RID: 1751 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60006D7")] [Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")] public DesignOnlyAttribute(bool isDesignOnly) { } /// Gets a value indicating whether a property can be set only at design time. /// /// if a property can be set only at design time; otherwise, . // Token: 0x17000134 RID: 308 // (get) Token: 0x060006D8 RID: 1752 RVA: 0x00004AD0 File Offset: 0x00002CD0 [Token(Token = "0x17000134")] public bool IsDesignOnly { [Token(Token = "0x60006D8")] [Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")] get { return default(bool); } } /// Determines if this attribute is the default. /// /// if the attribute is the default value for this attribute class; otherwise, . // Token: 0x060006D9 RID: 1753 RVA: 0x00004AE8 File Offset: 0x00002CE8 [Token(Token = "0x60006D9")] [Address(RVA = "0x4E81E0", Offset = "0x4E6FE0", VA = "0x1804E81E0", Slot = "6")] public override bool IsDefaultAttribute() { return default(bool); } /// Returns whether the value of the given object is equal to the current . /// The object to test the value equality of. /// /// if the value of the given object is equal to that of the current; otherwise, . // Token: 0x060006DA RID: 1754 RVA: 0x00004B00 File Offset: 0x00002D00 [Token(Token = "0x60006DA")] [Address(RVA = "0x4E8160", Offset = "0x4E6F60", VA = "0x1804E8160", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x060006DB RID: 1755 RVA: 0x00004B18 File Offset: 0x00002D18 [Token(Token = "0x60006DB")] [Address(RVA = "0x494E40", Offset = "0x493C40", VA = "0x180494E40", Slot = "2")] public override int GetHashCode() { return 0; } // Token: 0x040004B8 RID: 1208 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004B8")] private bool isDesignOnly; /// Specifies that a property can be set only at design time. This field is read-only. // Token: 0x040004B9 RID: 1209 [Token(Token = "0x40004B9")] public static readonly DesignOnlyAttribute Yes; /// Specifies that a property can be set at design time or at run time. This field is read-only. // Token: 0x040004BA RID: 1210 [Token(Token = "0x40004BA")] public static readonly DesignOnlyAttribute No; /// Specifies the default value for the , which is . This field is read-only. // Token: 0x040004BB RID: 1211 [Token(Token = "0x40004BB")] public static readonly DesignOnlyAttribute Default; } }