92 lines
3.8 KiB
C#
92 lines
3.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies whether a property should be localized. This class cannot be inherited.</summary>
|
|
// Token: 0x02000164 RID: 356
|
|
[Token(Token = "0x2000164")]
|
|
[AttributeUsage(AttributeTargets.All)]
|
|
public sealed class LocalizableAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.LocalizableAttribute" /> class.</summary>
|
|
/// <param name="isLocalizable">
|
|
/// <see langword="true" /> if a property should be localized; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x0600088A RID: 2186 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600088A")]
|
|
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
|
|
public LocalizableAttribute(bool isLocalizable)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether a property should be localized.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if a property should be localized; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700019D RID: 413
|
|
// (get) Token: 0x0600088B RID: 2187 RVA: 0x000052F8 File Offset: 0x000034F8
|
|
[Token(Token = "0x1700019D")]
|
|
public bool IsLocalizable
|
|
{
|
|
[Token(Token = "0x600088B")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <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: 0x0600088C RID: 2188 RVA: 0x00005310 File Offset: 0x00003510
|
|
[Token(Token = "0x600088C")]
|
|
[Address(RVA = "0x4F35A0", Offset = "0x4F23A0", VA = "0x1804F35A0", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.LocalizableAttribute" />.</summary>
|
|
/// <param name="obj">The object to test the value equality of.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x0600088D RID: 2189 RVA: 0x00005328 File Offset: 0x00003528
|
|
[Token(Token = "0x600088D")]
|
|
[Address(RVA = "0x4F3530", Offset = "0x4F2330", VA = "0x1804F3530", 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.LocalizableAttribute" />.</returns>
|
|
// Token: 0x0600088E RID: 2190 RVA: 0x00005340 File Offset: 0x00003540
|
|
[Token(Token = "0x600088E")]
|
|
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0400052A RID: 1322
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400052A")]
|
|
private bool isLocalizable;
|
|
|
|
/// <summary>Specifies that a property should be localized. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400052B RID: 1323
|
|
[Token(Token = "0x400052B")]
|
|
public static readonly LocalizableAttribute Yes;
|
|
|
|
/// <summary>Specifies that a property should not be localized. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400052C RID: 1324
|
|
[Token(Token = "0x400052C")]
|
|
public static readonly LocalizableAttribute No;
|
|
|
|
/// <summary>Specifies the default value, which is <see cref="F:System.ComponentModel.LocalizableAttribute.No" />. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400052D RID: 1325
|
|
[Token(Token = "0x400052D")]
|
|
public static readonly LocalizableAttribute Default;
|
|
}
|
|
}
|