using System; using System.Globalization; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a base type converter for nonfloating-point numerical types. // Token: 0x020001AA RID: 426 [Token(Token = "0x20001AA")] public abstract class BaseNumberConverter : TypeConverter { // Token: 0x17000225 RID: 549 // (get) Token: 0x06000BB8 RID: 3000 RVA: 0x00006630 File Offset: 0x00004830 [Token(Token = "0x17000225")] internal virtual bool AllowHex { [Token(Token = "0x6000BB8")] [Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "16")] get { return default(bool); } } // Token: 0x17000226 RID: 550 // (get) Token: 0x06000BB9 RID: 3001 [Token(Token = "0x17000226")] internal abstract Type TargetType { [Token(Token = "0x6000BB9")] [Address(Slot = "17")] get; } // Token: 0x06000BBA RID: 3002 [Token(Token = "0x6000BBA")] [Address(Slot = "18")] internal abstract object FromString(string value, int radix); // Token: 0x06000BBB RID: 3003 [Token(Token = "0x6000BBB")] [Address(Slot = "19")] internal abstract object FromString(string value, NumberFormatInfo formatInfo); // Token: 0x06000BBC RID: 3004 [Token(Token = "0x6000BBC")] [Address(Slot = "20")] internal abstract object FromString(string value, CultureInfo culture); // Token: 0x06000BBD RID: 3005 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BBD")] [Address(RVA = "0xB91910", Offset = "0xB90910", VA = "0x180B91910", Slot = "21")] internal virtual Exception FromStringError(string failedText, Exception innerException) { return null; } // Token: 0x06000BBE RID: 3006 [Token(Token = "0x6000BBE")] [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: 0x06000BBF RID: 3007 RVA: 0x00006648 File Offset: 0x00004848 [Token(Token = "0x6000BBF")] [Address(RVA = "0xB912A0", Offset = "0xB902A0", VA = "0x180B912A0", 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: 0x06000BC0 RID: 3008 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BC0")] [Address(RVA = "0xB91390", Offset = "0xB90390", VA = "0x180B91390", 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: 0x06000BC1 RID: 3009 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BC1")] [Address(RVA = "0xB91690", Offset = "0xB90690", VA = "0x180B91690", 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: 0x06000BC2 RID: 3010 RVA: 0x00006660 File Offset: 0x00004860 [Token(Token = "0x6000BC2")] [Address(RVA = "0xB91350", Offset = "0xB90350", VA = "0x180B91350", Slot = "5")] public override bool CanConvertTo(ITypeDescriptorContext context, Type t) { return default(bool); } /// Initializes a new instance of the class. // Token: 0x06000BC3 RID: 3011 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC3")] [Address(RVA = "0xB91AD0", Offset = "0xB90AD0", VA = "0x180B91AD0")] protected BaseNumberConverter() { } } }