Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

92 lines
3.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies that an object has no subproperties capable of being edited. This class cannot be inherited.</summary>
// Token: 0x02000144 RID: 324
[Token(Token = "0x2000144")]
[AttributeUsage(AttributeTargets.All)]
public sealed class ImmutableObjectAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ImmutableObjectAttribute" /> class.</summary>
/// <param name="immutable">
/// <see langword="true" /> if the object is immutable; otherwise, <see langword="false" />.</param>
// Token: 0x060007DD RID: 2013 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60007DD")]
[Address(RVA = "0xB92790", Offset = "0xB91790", VA = "0x180B92790")]
public ImmutableObjectAttribute(bool immutable)
{
}
/// <summary>Gets whether the object is immutable.</summary>
/// <returns>
/// <see langword="true" /> if the object is immutable; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">An <see cref="T:System.Object" /> to compare with this instance or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.ImmutableObjectAttribute" />.</returns>
// 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;
}
/// <summary>Indicates whether the value of this instance is the default value.</summary>
/// <returns>
/// <see langword="true" /> if this instance is the default attribute for the class; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Specifies that an object has no subproperties that can be edited. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004E6 RID: 1254
[Token(Token = "0x40004E6")]
public static readonly ImmutableObjectAttribute Yes;
/// <summary>Specifies that an object has at least one editable subproperty. This <see langword="static" /> field is read-only.</summary>
// Token: 0x040004E7 RID: 1255
[Token(Token = "0x40004E7")]
public static readonly ImmutableObjectAttribute No;
/// <summary>Represents the default value for <see cref="T:System.ComponentModel.ImmutableObjectAttribute" />.</summary>
// 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;
}
}