using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Specifies that an object has no subproperties capable of being edited. This class cannot be inherited.
// Token: 0x02000148 RID: 328
[Token(Token = "0x2000148")]
[AttributeUsage(AttributeTargets.All)]
public sealed class ImmutableObjectAttribute : Attribute
{
/// Initializes a new instance of the class.
///
/// if the object is immutable; otherwise, .
// Token: 0x060007F3 RID: 2035 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60007F3")]
[Address(RVA = "0x495A20", Offset = "0x494820", VA = "0x180495A20")]
public ImmutableObjectAttribute(bool immutable)
{
}
/// Gets whether the object is immutable.
///
/// if the object is immutable; otherwise, .
// Token: 0x1700017F RID: 383
// (get) Token: 0x060007F4 RID: 2036 RVA: 0x00004FB0 File Offset: 0x000031B0
[Token(Token = "0x1700017F")]
public bool Immutable
{
[Token(Token = "0x60007F4")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
get
{
return default(bool);
}
}
/// Returns a value that indicates whether this instance is equal to a specified object.
/// An to compare with this instance or a null reference ( in Visual Basic).
///
/// if equals the type and value of this instance; otherwise, .
// Token: 0x060007F5 RID: 2037 RVA: 0x00004FC8 File Offset: 0x000031C8
[Token(Token = "0x60007F5")]
[Address(RVA = "0x4EDF40", Offset = "0x4ECD40", VA = "0x1804EDF40", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns the hash code for this instance.
/// A hash code for the current .
// Token: 0x060007F6 RID: 2038 RVA: 0x00004FE0 File Offset: 0x000031E0
[Token(Token = "0x60007F6")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Indicates whether the value of this instance is the default value.
///
/// if this instance is the default attribute for the class; otherwise, .
// Token: 0x060007F7 RID: 2039 RVA: 0x00004FF8 File Offset: 0x000031F8
[Token(Token = "0x60007F7")]
[Address(RVA = "0x4EDFC0", Offset = "0x4ECDC0", VA = "0x1804EDFC0", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// Specifies that an object has no subproperties that can be edited. This field is read-only.
// Token: 0x040004F3 RID: 1267
[Token(Token = "0x40004F3")]
public static readonly ImmutableObjectAttribute Yes;
/// Specifies that an object has at least one editable subproperty. This field is read-only.
// Token: 0x040004F4 RID: 1268
[Token(Token = "0x40004F4")]
public static readonly ImmutableObjectAttribute No;
/// Represents the default value for .
// Token: 0x040004F5 RID: 1269
[Token(Token = "0x40004F5")]
public static readonly ImmutableObjectAttribute Default;
// Token: 0x040004F6 RID: 1270
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004F6")]
private bool immutable;
}
}