using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Specifies whether a property can only be set at design time.
// Token: 0x02000112 RID: 274
[Token(Token = "0x2000112")]
[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: 0x060006C1 RID: 1729 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006C1")]
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
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: 0x17000130 RID: 304
// (get) Token: 0x060006C2 RID: 1730 RVA: 0x00004AB8 File Offset: 0x00002CB8
[Token(Token = "0x17000130")]
public bool IsDesignOnly
{
[Token(Token = "0x60006C2")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// Determines if this attribute is the default.
///
/// if the attribute is the default value for this attribute class; otherwise, .
// Token: 0x060006C3 RID: 1731 RVA: 0x00004AD0 File Offset: 0x00002CD0
[Token(Token = "0x60006C3")]
[Address(RVA = "0xC525F0", Offset = "0xC515F0", VA = "0x180C525F0", 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: 0x060006C4 RID: 1732 RVA: 0x00004AE8 File Offset: 0x00002CE8
[Token(Token = "0x60006C4")]
[Address(RVA = "0xC52570", Offset = "0xC51570", VA = "0x180C52570", 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: 0x060006C5 RID: 1733 RVA: 0x00004B00 File Offset: 0x00002D00
[Token(Token = "0x60006C5")]
[Address(RVA = "0xA697A0", Offset = "0xA687A0", VA = "0x180A697A0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040004AB RID: 1195
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004AB")]
private bool isDesignOnly;
/// Specifies that a property can be set only at design time. This field is read-only.
// Token: 0x040004AC RID: 1196
[Token(Token = "0x40004AC")]
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: 0x040004AD RID: 1197
[Token(Token = "0x40004AD")]
public static readonly DesignOnlyAttribute No;
/// Specifies the default value for the , which is . This field is read-only.
// Token: 0x040004AE RID: 1198
[Token(Token = "0x40004AE")]
public static readonly DesignOnlyAttribute Default;
}
}