Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

164 lines
7.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies the default value for a property.</summary>
// Token: 0x0200010F RID: 271
[Token(Token = "0x200010F")]
[AttributeUsage(AttributeTargets.All)]
public class DefaultValueAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class, converting the specified value to the specified type, and using an invariant culture as the translation context.</summary>
/// <param name="type">A <see cref="T:System.Type" /> that represents the type to convert the value to.</param>
/// <param name="value">A <see cref="T:System.String" /> that can be converted to the type using the <see cref="T:System.ComponentModel.TypeConverter" /> for the type and the U.S. English culture.</param>
// Token: 0x0600069E RID: 1694 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600069E")]
[Address(RVA = "0xC51A60", Offset = "0xC50A60", VA = "0x180C51A60")]
public DefaultValueAttribute(Type type, string value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a Unicode character.</summary>
/// <param name="value">A Unicode character that is the default value.</param>
// Token: 0x0600069F RID: 1695 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600069F")]
[Address(RVA = "0xC51B80", Offset = "0xC50B80", VA = "0x180C51B80")]
public DefaultValueAttribute(char value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using an 8-bit unsigned integer.</summary>
/// <param name="value">An 8-bit unsigned integer that is the default value.</param>
// Token: 0x060006A0 RID: 1696 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A0")]
[Address(RVA = "0xC51A00", Offset = "0xC50A00", VA = "0x180C51A00")]
public DefaultValueAttribute(byte value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a 16-bit signed integer.</summary>
/// <param name="value">A 16-bit signed integer that is the default value.</param>
// Token: 0x060006A1 RID: 1697 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A1")]
[Address(RVA = "0xC519A0", Offset = "0xC509A0", VA = "0x180C519A0")]
public DefaultValueAttribute(short value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a 32-bit signed integer.</summary>
/// <param name="value">A 32-bit signed integer that is the default value.</param>
// Token: 0x060006A2 RID: 1698 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A2")]
[Address(RVA = "0xC51CA0", Offset = "0xC50CA0", VA = "0x180C51CA0")]
public DefaultValueAttribute(int value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a 64-bit signed integer.</summary>
/// <param name="value">A 64-bit signed integer that is the default value.</param>
// Token: 0x060006A3 RID: 1699 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A3")]
[Address(RVA = "0xC51D00", Offset = "0xC50D00", VA = "0x180C51D00")]
public DefaultValueAttribute(long value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a single-precision floating point number.</summary>
/// <param name="value">A single-precision floating point number that is the default value.</param>
// Token: 0x060006A4 RID: 1700 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A4")]
[Address(RVA = "0xC51C40", Offset = "0xC50C40", VA = "0x180C51C40")]
public DefaultValueAttribute(float value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a double-precision floating point number.</summary>
/// <param name="value">A double-precision floating point number that is the default value.</param>
// Token: 0x060006A5 RID: 1701 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A5")]
[Address(RVA = "0xC51B20", Offset = "0xC50B20", VA = "0x180C51B20")]
public DefaultValueAttribute(double value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a <see cref="T:System.Boolean" /> value.</summary>
/// <param name="value">A <see cref="T:System.Boolean" /> that is the default value.</param>
// Token: 0x060006A6 RID: 1702 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A6")]
[Address(RVA = "0xC51BE0", Offset = "0xC50BE0", VA = "0x180C51BE0")]
public DefaultValueAttribute(bool value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class using a <see cref="T:System.String" />.</summary>
/// <param name="value">A <see cref="T:System.String" /> that is the default value.</param>
// Token: 0x060006A7 RID: 1703 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A7")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DefaultValueAttribute(string value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DefaultValueAttribute" /> class.</summary>
/// <param name="value">An <see cref="T:System.Object" /> that represents the default value.</param>
// Token: 0x060006A8 RID: 1704 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A8")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public DefaultValueAttribute(object value)
{
}
/// <summary>Gets the default value of the property this attribute is bound to.</summary>
/// <returns>An <see cref="T:System.Object" /> that represents the default value of the property this attribute is bound to.</returns>
// Token: 0x1700012C RID: 300
// (get) Token: 0x060006A9 RID: 1705 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012C")]
public virtual object Value
{
[Token(Token = "0x60006A9")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
get
{
return null;
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DefaultValueAttribute" />.</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: 0x060006AA RID: 1706 RVA: 0x00004A28 File Offset: 0x00002C28
[Token(Token = "0x60006AA")]
[Address(RVA = "0xC51860", Offset = "0xC50860", VA = "0x180C51860", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060006AB RID: 1707 RVA: 0x00004A40 File Offset: 0x00002C40
[Token(Token = "0x60006AB")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Sets the default value for the property to which this attribute is bound.</summary>
/// <param name="value">The default value.</param>
// Token: 0x060006AC RID: 1708 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006AC")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
protected void SetValue(object value)
{
}
// Token: 0x040004A7 RID: 1191
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004A7")]
private object value;
}
}