using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Runtime.Serialization { /// Provides the connection between an instance of and the formatter-provided class best suited to parse the data inside the . // Token: 0x0200045B RID: 1115 [Token(Token = "0x200045B")] [ComVisible(true)] [CLSCompliant(false)] public interface IFormatterConverter { /// Converts a value to the given . /// The object to be converted. /// The into which is to be converted. /// The converted . // Token: 0x06002693 RID: 9875 [Token(Token = "0x6002693")] [Address(Slot = "0")] object Convert(object value, Type type); /// Converts a value to a . /// The object to be converted. /// The converted . // Token: 0x06002694 RID: 9876 [Token(Token = "0x6002694")] [Address(Slot = "1")] bool ToBoolean(object value); /// Converts a value to a 32-bit signed integer. /// The object to be converted. /// The converted . // Token: 0x06002695 RID: 9877 [Token(Token = "0x6002695")] [Address(Slot = "2")] int ToInt32(object value); /// Converts a value to a 64-bit signed integer. /// The object to be converted. /// The converted . // Token: 0x06002696 RID: 9878 [Token(Token = "0x6002696")] [Address(Slot = "3")] long ToInt64(object value); /// Converts a value to a single-precision floating-point number. /// The object to be converted. /// The converted . // Token: 0x06002697 RID: 9879 [Token(Token = "0x6002697")] [Address(Slot = "4")] float ToSingle(object value); /// Converts a value to a . /// The object to be converted. /// The converted . // Token: 0x06002698 RID: 9880 [Token(Token = "0x6002698")] [Address(Slot = "5")] string ToString(object value); } }