m
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Specifies whether the property this attribute is bound to is read-only or read/write. This class cannot be inherited</summary>
|
||||
// Token: 0x02000179 RID: 377
|
||||
[Token(Token = "0x2000179")]
|
||||
[AttributeUsage(AttributeTargets.All)]
|
||||
public sealed class ReadOnlyAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ReadOnlyAttribute" /> class.</summary>
|
||||
/// <param name="isReadOnly">
|
||||
/// <see langword="true" /> to show that the property this attribute is bound to is read-only; <see langword="false" /> to show that the property is read/write.</param>
|
||||
// Token: 0x060009BE RID: 2494 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x60009BE")]
|
||||
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
||||
public ReadOnlyAttribute(bool isReadOnly)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the property this attribute is bound to is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the property this attribute is bound to is read-only; <see langword="false" /> if the property is read/write.</returns>
|
||||
// Token: 0x170001EE RID: 494
|
||||
// (get) Token: 0x060009BF RID: 2495 RVA: 0x00005EF8 File Offset: 0x000040F8
|
||||
[Token(Token = "0x170001EE")]
|
||||
public bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x60009BF")]
|
||||
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether this instance and a specified object are equal.</summary>
|
||||
/// <param name="value">Another object to compare to.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x060009C0 RID: 2496 RVA: 0x00005F10 File Offset: 0x00004110
|
||||
[Token(Token = "0x60009C0")]
|
||||
[Address(RVA = "0xC184A0", Offset = "0xC174A0", VA = "0x180C184A0", Slot = "0")]
|
||||
public override bool Equals(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns the hash code for this instance.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.ReadOnlyAttribute" />.</returns>
|
||||
// Token: 0x060009C1 RID: 2497 RVA: 0x00005F28 File Offset: 0x00004128
|
||||
[Token(Token = "0x60009C1")]
|
||||
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Determines if this attribute is the default.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x060009C2 RID: 2498 RVA: 0x00005F40 File Offset: 0x00004140
|
||||
[Token(Token = "0x60009C2")]
|
||||
[Address(RVA = "0xC18520", Offset = "0xC17520", VA = "0x180C18520", Slot = "6")]
|
||||
public override bool IsDefaultAttribute()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04000596 RID: 1430
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000596")]
|
||||
private bool isReadOnly;
|
||||
|
||||
/// <summary>Specifies that the property this attribute is bound to is read-only and cannot be modified in the server explorer. This <see langword="static" /> field is read-only.</summary>
|
||||
// Token: 0x04000597 RID: 1431
|
||||
[Token(Token = "0x4000597")]
|
||||
public static readonly ReadOnlyAttribute Yes;
|
||||
|
||||
/// <summary>Specifies that the property this attribute is bound to is read/write and can be modified. This <see langword="static" /> field is read-only.</summary>
|
||||
// Token: 0x04000598 RID: 1432
|
||||
[Token(Token = "0x4000598")]
|
||||
public static readonly ReadOnlyAttribute No;
|
||||
|
||||
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.ReadOnlyAttribute" />, which is <see cref="F:System.ComponentModel.ReadOnlyAttribute.No" /> (that is, the property this attribute is bound to is read/write). This <see langword="static" /> field is read-only.</summary>
|
||||
// Token: 0x04000599 RID: 1433
|
||||
[Token(Token = "0x4000599")]
|
||||
public static readonly ReadOnlyAttribute Default;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user