using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Specifies the type of persistence to use when serializing a property on a component at design time. // Token: 0x0200011B RID: 283 [Token(Token = "0x200011B")] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)] public sealed class DesignerSerializationVisibilityAttribute : Attribute { /// Initializes a new instance of the class using the specified value. /// One of the values. // Token: 0x060006F6 RID: 1782 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60006F6")] [Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")] public DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility visibility) { } /// Gets a value indicating the basic serialization mode a serializer should use when determining whether and how to persist the value of a property. /// One of the values. The default is . // Token: 0x1700013B RID: 315 // (get) Token: 0x060006F7 RID: 1783 RVA: 0x00004C08 File Offset: 0x00002E08 [Token(Token = "0x1700013B")] public DesignerSerializationVisibility Visibility { [Token(Token = "0x60006F7")] [Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")] get { return DesignerSerializationVisibility.Hidden; } } /// Indicates whether this instance and a specified object are equal. /// Another object to compare to. /// /// if is equal to this instance; otherwise, . // Token: 0x060006F8 RID: 1784 RVA: 0x00004C20 File Offset: 0x00002E20 [Token(Token = "0x60006F8")] [Address(RVA = "0x4E8C80", Offset = "0x4E7A80", VA = "0x1804E8C80", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns the hash code for this object. /// A 32-bit signed integer hash code. // Token: 0x060006F9 RID: 1785 RVA: 0x00004C38 File Offset: 0x00002E38 [Token(Token = "0x60006F9")] [Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")] public override int GetHashCode() { return 0; } /// Gets a value indicating whether the current value of the attribute is the default value for the attribute. /// /// if the attribute is set to the default value; otherwise, . // Token: 0x060006FA RID: 1786 RVA: 0x00004C50 File Offset: 0x00002E50 [Token(Token = "0x60006FA")] [Address(RVA = "0x4E8D00", Offset = "0x4E7B00", VA = "0x1804E8D00", Slot = "6")] public override bool IsDefaultAttribute() { return default(bool); } /// Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only. // Token: 0x040004CD RID: 1229 [Token(Token = "0x40004CD")] public static readonly DesignerSerializationVisibilityAttribute Content; /// Specifies that a serializer should not serialize the value of the property. This field is read-only. // Token: 0x040004CE RID: 1230 [Token(Token = "0x40004CE")] public static readonly DesignerSerializationVisibilityAttribute Hidden; /// Specifies that a serializer should be allowed to serialize the value of the property. This field is read-only. // Token: 0x040004CF RID: 1231 [Token(Token = "0x40004CF")] public static readonly DesignerSerializationVisibilityAttribute Visible; /// Specifies the default value, which is , that is, a visual designer uses default rules to generate the value of a property. This field is read-only. // Token: 0x040004D0 RID: 1232 [Token(Token = "0x40004D0")] public static readonly DesignerSerializationVisibilityAttribute Default; // Token: 0x040004D1 RID: 1233 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40004D1")] private DesignerSerializationVisibility visibility; } }