Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/DesignerSerializationVisibilityAttribute.cs
2026-04-10 22:50:51 +02:00

95 lines
4.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies the type of persistence to use when serializing a property on a component at design time.</summary>
// Token: 0x0200011B RID: 283
[Token(Token = "0x200011B")]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
public sealed class DesignerSerializationVisibilityAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DesignerSerializationVisibilityAttribute" /> class using the specified <see cref="T:System.ComponentModel.DesignerSerializationVisibility" /> value.</summary>
/// <param name="visibility">One of the <see cref="T:System.ComponentModel.DesignerSerializationVisibility" /> values.</param>
// Token: 0x060006F6 RID: 1782 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006F6")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility visibility)
{
}
/// <summary>Gets a value indicating the basic serialization mode a serializer should use when determining whether and how to persist the value of a property.</summary>
/// <returns>One of the <see cref="T:System.ComponentModel.DesignerSerializationVisibility" /> values. The default is <see cref="F:System.ComponentModel.DesignerSerializationVisibility.Visible" />.</returns>
// 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;
}
}
/// <summary>Indicates whether this instance and a specified object are equal.</summary>
/// <param name="obj">Another object to compare to.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hash code for this object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
}
/// <summary>Gets a value indicating whether the current value of the attribute is the default value for the attribute.</summary>
/// <returns>
/// <see langword="true" /> if the attribute is set to the default value; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only.</summary>
// Token: 0x040004CD RID: 1229
[Token(Token = "0x40004CD")]
public static readonly DesignerSerializationVisibilityAttribute Content;
/// <summary>Specifies that a serializer should not serialize the value of the property. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004CE RID: 1230
[Token(Token = "0x40004CE")]
public static readonly DesignerSerializationVisibilityAttribute Hidden;
/// <summary>Specifies that a serializer should be allowed to serialize the value of the property. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004CF RID: 1231
[Token(Token = "0x40004CF")]
public static readonly DesignerSerializationVisibilityAttribute Visible;
/// <summary>Specifies the default value, which is <see cref="F:System.ComponentModel.DesignerSerializationVisibilityAttribute.Visible" />, that is, a visual designer uses default rules to generate the value of a property. This <see langword="static" /> field is read-only.</summary>
// 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;
}
}