using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Specifies that an object has no subproperties capable of being edited. This class cannot be inherited.
// Token: 0x02000144 RID: 324
[Token(Token = "0x2000144")]
[AttributeUsage(AttributeTargets.All)]
public sealed class ImmutableObjectAttribute : Attribute
{
/// Initializes a new instance of the class.
///
/// if the object is immutable; otherwise, .
// Token: 0x060007DD RID: 2013 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60007DD")]
[Address(RVA = "0xB92790", Offset = "0xB91790", VA = "0x180B92790")]
public ImmutableObjectAttribute(bool immutable)
{
}
/// Gets whether the object is immutable.
///
/// if the object is immutable; otherwise, .
// Token: 0x1700017B RID: 379
// (get) Token: 0x060007DE RID: 2014 RVA: 0x00004F98 File Offset: 0x00003198
[Token(Token = "0x1700017B")]
public bool Immutable
{
[Token(Token = "0x60007DE")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
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: 0x060007DF RID: 2015 RVA: 0x00004FB0 File Offset: 0x000031B0
[Token(Token = "0x60007DF")]
[Address(RVA = "0xC58340", Offset = "0xC57340", VA = "0x180C58340", 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: 0x060007E0 RID: 2016 RVA: 0x00004FC8 File Offset: 0x000031C8
[Token(Token = "0x60007E0")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", 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: 0x060007E1 RID: 2017 RVA: 0x00004FE0 File Offset: 0x000031E0
[Token(Token = "0x60007E1")]
[Address(RVA = "0xC583C0", Offset = "0xC573C0", VA = "0x180C583C0", 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: 0x040004E6 RID: 1254
[Token(Token = "0x40004E6")]
public static readonly ImmutableObjectAttribute Yes;
/// Specifies that an object has at least one editable subproperty. This field is read-only.
// Token: 0x040004E7 RID: 1255
[Token(Token = "0x40004E7")]
public static readonly ImmutableObjectAttribute No;
/// Represents the default value for .
// Token: 0x040004E8 RID: 1256
[Token(Token = "0x40004E8")]
public static readonly ImmutableObjectAttribute Default;
// Token: 0x040004E9 RID: 1257
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004E9")]
private bool immutable;
}
}