100 lines
4.7 KiB
C#
100 lines
4.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Indicates that an object's text representation is obscured by characters such as asterisks. This class cannot be inherited.</summary>
|
|
// Token: 0x0200016E RID: 366
|
|
[Token(Token = "0x200016E")]
|
|
[AttributeUsage(AttributeTargets.All)]
|
|
public sealed class PasswordPropertyTextAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> class.</summary>
|
|
// Token: 0x06000945 RID: 2373 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000945")]
|
|
[Address(RVA = "0xC67AB0", Offset = "0xC66AB0", VA = "0x180C67AB0")]
|
|
public PasswordPropertyTextAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> class, optionally showing password text.</summary>
|
|
/// <param name="password">
|
|
/// <see langword="true" /> to indicate that the property should be shown as password text; otherwise, <see langword="false" />. The default is <see langword="false" />.</param>
|
|
// Token: 0x06000946 RID: 2374 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000946")]
|
|
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
|
public PasswordPropertyTextAttribute(bool password)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a value indicating if the property for which the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> is defined should be shown as password text.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the property should be shown as password text; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170001CD RID: 461
|
|
// (get) Token: 0x06000947 RID: 2375 RVA: 0x00005C58 File Offset: 0x00003E58
|
|
[Token(Token = "0x170001CD")]
|
|
public bool Password
|
|
{
|
|
[Token(Token = "0x6000947")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Determines whether two <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> instances are equal.</summary>
|
|
/// <param name="o">The <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> to compare with the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the specified <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> is equal to the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000948 RID: 2376 RVA: 0x00005C70 File Offset: 0x00003E70
|
|
[Token(Token = "0x6000948")]
|
|
[Address(RVA = "0xC67AD0", Offset = "0xC66AD0", VA = "0x180C67AD0", Slot = "0")]
|
|
public override bool Equals(object o)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" />.</returns>
|
|
// Token: 0x06000949 RID: 2377 RVA: 0x00005C88 File Offset: 0x00003E88
|
|
[Token(Token = "0x6000949")]
|
|
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Returns an indication 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: 0x0600094A RID: 2378 RVA: 0x00005CA0 File Offset: 0x00003EA0
|
|
[Token(Token = "0x600094A")]
|
|
[Address(RVA = "0xC67B60", Offset = "0xC66B60", VA = "0x180C67B60", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Specifies that a text property is used as a password. This <see langword="static" /> (<see langword="Shared" /> in Visual Basic) field is read-only.</summary>
|
|
// Token: 0x0400057B RID: 1403
|
|
[Token(Token = "0x400057B")]
|
|
public static readonly PasswordPropertyTextAttribute Yes;
|
|
|
|
/// <summary>Specifies that a text property is not used as a password. This <see langword="static" /> (<see langword="Shared" /> in Visual Basic) field is read-only.</summary>
|
|
// Token: 0x0400057C RID: 1404
|
|
[Token(Token = "0x400057C")]
|
|
public static readonly PasswordPropertyTextAttribute No;
|
|
|
|
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" />.</summary>
|
|
// Token: 0x0400057D RID: 1405
|
|
[Token(Token = "0x400057D")]
|
|
public static readonly PasswordPropertyTextAttribute Default;
|
|
|
|
// Token: 0x0400057E RID: 1406
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400057E")]
|
|
private bool _password;
|
|
}
|
|
}
|