Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

108 lines
4.5 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert <see cref="T:System.Decimal" /> objects to and from various other representations.</summary>
// Token: 0x0200010F RID: 271
[Token(Token = "0x200010F")]
public class DecimalConverter : BaseNumberConverter
{
// Token: 0x1700012B RID: 299
// (get) Token: 0x0600069B RID: 1691 RVA: 0x00004980 File Offset: 0x00002B80
[Token(Token = "0x1700012B")]
internal override bool AllowHex
{
[Token(Token = "0x600069B")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "16")]
get
{
return default(bool);
}
}
// Token: 0x1700012C RID: 300
// (get) Token: 0x0600069C RID: 1692 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700012C")]
internal override Type TargetType
{
[Token(Token = "0x600069C")]
[Address(RVA = "0x4A0D30", Offset = "0x49FB30", VA = "0x1804A0D30", Slot = "17")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether this converter can convert an object to the given destination type using the context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="destinationType">A <see cref="T:System.Type" /> that represents the type you wish to convert to.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x0600069D RID: 1693 RVA: 0x00004998 File Offset: 0x00002B98
[Token(Token = "0x600069D")]
[Address(RVA = "0x4A0700", Offset = "0x49F500", VA = "0x1804A0700", Slot = "5")]
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
return default(bool);
}
/// <summary>Converts the given value object to a <see cref="T:System.Decimal" /> using the arguments.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">An optional <see cref="T:System.Globalization.CultureInfo" />. If not supplied, the current culture is assumed.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the value to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="destinationType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x0600069E RID: 1694 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600069E")]
[Address(RVA = "0x4A07C0", Offset = "0x49F5C0", VA = "0x1804A07C0", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
// Token: 0x0600069F RID: 1695 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600069F")]
[Address(RVA = "0x4A0AE0", Offset = "0x49F8E0", VA = "0x1804A0AE0", Slot = "18")]
internal override object FromString(string value, int radix)
{
return null;
}
// Token: 0x060006A0 RID: 1696 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60006A0")]
[Address(RVA = "0x4A0B90", Offset = "0x49F990", VA = "0x1804A0B90", Slot = "19")]
internal override object FromString(string value, NumberFormatInfo formatInfo)
{
return null;
}
// Token: 0x060006A1 RID: 1697 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60006A1")]
[Address(RVA = "0x4A0C20", Offset = "0x49FA20", VA = "0x1804A0C20", Slot = "20")]
internal override object FromString(string value, CultureInfo culture)
{
return null;
}
// Token: 0x060006A2 RID: 1698 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60006A2")]
[Address(RVA = "0x4A0CA0", Offset = "0x49FAA0", VA = "0x1804A0CA0", Slot = "22")]
internal override string ToString(object value, NumberFormatInfo formatInfo)
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DecimalConverter" /> class.</summary>
// Token: 0x060006A3 RID: 1699 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60006A3")]
[Address(RVA = "0x494D40", Offset = "0x493B40", VA = "0x180494D40")]
public DecimalConverter()
{
}
}
}