using System; using System.Globalization; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a base type converter for nonfloating-point numerical types. // Token: 0x020001AE RID: 430 [Token(Token = "0x20001AE")] public abstract class BaseNumberConverter : TypeConverter { // Token: 0x17000229 RID: 553 // (get) Token: 0x06000BCE RID: 3022 RVA: 0x00006648 File Offset: 0x00004848 [Token(Token = "0x17000229")] internal virtual bool AllowHex { [Token(Token = "0x6000BCE")] [Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "16")] get { return default(bool); } } // Token: 0x1700022A RID: 554 // (get) Token: 0x06000BCF RID: 3023 [Token(Token = "0x1700022A")] internal abstract Type TargetType { [Token(Token = "0x6000BCF")] [Address(Slot = "17")] get; } // Token: 0x06000BD0 RID: 3024 [Token(Token = "0x6000BD0")] [Address(Slot = "18")] internal abstract object FromString(string value, int radix); // Token: 0x06000BD1 RID: 3025 [Token(Token = "0x6000BD1")] [Address(Slot = "19")] internal abstract object FromString(string value, NumberFormatInfo formatInfo); // Token: 0x06000BD2 RID: 3026 [Token(Token = "0x6000BD2")] [Address(Slot = "20")] internal abstract object FromString(string value, CultureInfo culture); // Token: 0x06000BD3 RID: 3027 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BD3")] [Address(RVA = "0x494B80", Offset = "0x493980", VA = "0x180494B80", Slot = "21")] internal virtual Exception FromStringError(string failedText, Exception innerException) { return null; } // Token: 0x06000BD4 RID: 3028 [Token(Token = "0x6000BD4")] [Address(Slot = "22")] internal abstract string ToString(object value, NumberFormatInfo formatInfo); /// Determines if this converter can convert an object in the given source type to the native type of the converter. /// An that provides a format context. /// A that represents the type from which you want to convert. /// /// if this converter can perform the operation; otherwise, . // Token: 0x06000BD5 RID: 3029 RVA: 0x00006660 File Offset: 0x00004860 [Token(Token = "0x6000BD5")] [Address(RVA = "0x494510", Offset = "0x493310", VA = "0x180494510", Slot = "4")] public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return default(bool); } /// Converts the given object to the converter's native type. /// An that provides a format context. /// A that specifies the culture to represent the number. /// The object to convert. /// An that represents the converted value. /// /// is not a valid value for the target type. /// The conversion cannot be performed. // Token: 0x06000BD6 RID: 3030 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BD6")] [Address(RVA = "0x494600", Offset = "0x493400", VA = "0x180494600", Slot = "6")] public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { return null; } /// Converts the specified object to another type. /// An that provides a format context. /// A that specifies the culture to represent the number. /// The object to convert. /// The type to convert the object to. /// An that represents the converted value. /// /// is . /// The conversion cannot be performed. // Token: 0x06000BD7 RID: 3031 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BD7")] [Address(RVA = "0x494900", Offset = "0x493700", VA = "0x180494900", Slot = "7")] public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { return null; } /// Returns a value indicating whether this converter can convert an object to the given destination type using the context. /// An that provides a format context. /// A that represents the type to which you want to convert. /// /// if this converter can perform the operation; otherwise, . // Token: 0x06000BD8 RID: 3032 RVA: 0x00006678 File Offset: 0x00004878 [Token(Token = "0x6000BD8")] [Address(RVA = "0x4945C0", Offset = "0x4933C0", VA = "0x1804945C0", Slot = "5")] public override bool CanConvertTo(ITypeDescriptorContext context, Type t) { return default(bool); } /// Initializes a new instance of the class. // Token: 0x06000BD9 RID: 3033 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BD9")] [Address(RVA = "0x494D40", Offset = "0x493B40", VA = "0x180494D40")] protected BaseNumberConverter() { } } }