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: 0x02000117 RID: 279
[Token(Token = "0x2000117")]
[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: 0x060006E0 RID: 1760 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006E0")]
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
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: 0x17000137 RID: 311
// (get) Token: 0x060006E1 RID: 1761 RVA: 0x00004BF0 File Offset: 0x00002DF0
[Token(Token = "0x17000137")]
public DesignerSerializationVisibility Visibility
{
[Token(Token = "0x60006E1")]
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
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: 0x060006E2 RID: 1762 RVA: 0x00004C08 File Offset: 0x00002E08
[Token(Token = "0x60006E2")]
[Address(RVA = "0xC53090", Offset = "0xC52090", VA = "0x180C53090", 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: 0x060006E3 RID: 1763 RVA: 0x00004C20 File Offset: 0x00002E20
[Token(Token = "0x60006E3")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", 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: 0x060006E4 RID: 1764 RVA: 0x00004C38 File Offset: 0x00002E38
[Token(Token = "0x60006E4")]
[Address(RVA = "0xC53110", Offset = "0xC52110", VA = "0x180C53110", 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: 0x040004C0 RID: 1216
[Token(Token = "0x40004C0")]
public static readonly DesignerSerializationVisibilityAttribute Content;
/// Specifies that a serializer should not serialize the value of the property. This field is read-only.
// Token: 0x040004C1 RID: 1217
[Token(Token = "0x40004C1")]
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: 0x040004C2 RID: 1218
[Token(Token = "0x40004C2")]
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: 0x040004C3 RID: 1219
[Token(Token = "0x40004C3")]
public static readonly DesignerSerializationVisibilityAttribute Default;
// Token: 0x040004C4 RID: 1220
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004C4")]
private DesignerSerializationVisibility visibility;
}
}