Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/DesignerSerializationVisibilityAttribute.cs
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000117 RID: 279
[Token(Token = "0x2000117")]
[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: 0x060006E0 RID: 1760 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006E0")]
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
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: 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;
}
}
/// <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: 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);
}
/// <summary>Returns the hash code for this object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
}
/// <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: 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);
}
/// <summary>Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only.</summary>
// Token: 0x040004C0 RID: 1216
[Token(Token = "0x40004C0")]
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: 0x040004C1 RID: 1217
[Token(Token = "0x40004C1")]
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: 0x040004C2 RID: 1218
[Token(Token = "0x40004C2")]
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: 0x040004C3 RID: 1219
[Token(Token = "0x40004C3")]
public static readonly DesignerSerializationVisibilityAttribute Default;
// Token: 0x040004C4 RID: 1220
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004C4")]
private DesignerSerializationVisibility visibility;
}
}