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: 0x02000160 RID: 352
|
|
[Token(Token = "0x2000160")]
|
|
[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: 0x06000874 RID: 2164 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000874")]
|
|
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
|
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: 0x17000199 RID: 409
|
|
// (get) Token: 0x06000875 RID: 2165 RVA: 0x000052E0 File Offset: 0x000034E0
|
|
[Token(Token = "0x17000199")]
|
|
public bool IsLocalizable
|
|
{
|
|
[Token(Token = "0x6000875")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
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: 0x06000876 RID: 2166 RVA: 0x000052F8 File Offset: 0x000034F8
|
|
[Token(Token = "0x6000876")]
|
|
[Address(RVA = "0xC5D910", Offset = "0xC5C910", VA = "0x180C5D910", 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: 0x06000877 RID: 2167 RVA: 0x00005310 File Offset: 0x00003510
|
|
[Token(Token = "0x6000877")]
|
|
[Address(RVA = "0xC5D8A0", Offset = "0xC5C8A0", VA = "0x180C5D8A0", 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: 0x06000878 RID: 2168 RVA: 0x00005328 File Offset: 0x00003528
|
|
[Token(Token = "0x6000878")]
|
|
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0400051D RID: 1309
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400051D")]
|
|
private bool isLocalizable;
|
|
|
|
/// <summary>Specifies that a property should be localized. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400051E RID: 1310
|
|
[Token(Token = "0x400051E")]
|
|
public static readonly LocalizableAttribute Yes;
|
|
|
|
/// <summary>Specifies that a property should not be localized. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400051F RID: 1311
|
|
[Token(Token = "0x400051F")]
|
|
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: 0x04000520 RID: 1312
|
|
[Token(Token = "0x4000520")]
|
|
public static readonly LocalizableAttribute Default;
|
|
}
|
|
}
|