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: 0x02000172 RID: 370
|
|
[Token(Token = "0x2000172")]
|
|
[AttributeUsage(AttributeTargets.All)]
|
|
public sealed class PasswordPropertyTextAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> class.</summary>
|
|
// Token: 0x0600095B RID: 2395 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600095B")]
|
|
[Address(RVA = "0x4FD760", Offset = "0x4FC560", VA = "0x1804FD760")]
|
|
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: 0x0600095C RID: 2396 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600095C")]
|
|
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
|
|
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: 0x170001D1 RID: 465
|
|
// (get) Token: 0x0600095D RID: 2397 RVA: 0x00005C70 File Offset: 0x00003E70
|
|
[Token(Token = "0x170001D1")]
|
|
public bool Password
|
|
{
|
|
[Token(Token = "0x600095D")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
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: 0x0600095E RID: 2398 RVA: 0x00005C88 File Offset: 0x00003E88
|
|
[Token(Token = "0x600095E")]
|
|
[Address(RVA = "0x4FD780", Offset = "0x4FC580", VA = "0x1804FD780", 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: 0x0600095F RID: 2399 RVA: 0x00005CA0 File Offset: 0x00003EA0
|
|
[Token(Token = "0x600095F")]
|
|
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", 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: 0x06000960 RID: 2400 RVA: 0x00005CB8 File Offset: 0x00003EB8
|
|
[Token(Token = "0x6000960")]
|
|
[Address(RVA = "0x4FD810", Offset = "0x4FC610", VA = "0x1804FD810", 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: 0x04000588 RID: 1416
|
|
[Token(Token = "0x4000588")]
|
|
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: 0x04000589 RID: 1417
|
|
[Token(Token = "0x4000589")]
|
|
public static readonly PasswordPropertyTextAttribute No;
|
|
|
|
/// <summary>Specifies the default value for the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" />.</summary>
|
|
// Token: 0x0400058A RID: 1418
|
|
[Token(Token = "0x400058A")]
|
|
public static readonly PasswordPropertyTextAttribute Default;
|
|
|
|
// Token: 0x0400058B RID: 1419
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400058B")]
|
|
private bool _password;
|
|
}
|
|
}
|