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: 0x0200043F RID: 1087 [Token(Token = "0x200043F")] [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: 0x06002487 RID: 9351 [Token(Token = "0x6002487")] [Address(Slot = "0")] object Convert(object value, Type type); /// Converts a value to a . /// The object to be converted. /// The converted . // Token: 0x06002488 RID: 9352 [Token(Token = "0x6002488")] [Address(Slot = "1")] bool ToBoolean(object value); /// Converts a value to a 32-bit signed integer. /// The object to be converted. /// The converted . // Token: 0x06002489 RID: 9353 [Token(Token = "0x6002489")] [Address(Slot = "2")] int ToInt32(object value); /// Converts a value to a 64-bit signed integer. /// The object to be converted. /// The converted . // Token: 0x0600248A RID: 9354 [Token(Token = "0x600248A")] [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: 0x0600248B RID: 9355 [Token(Token = "0x600248B")] [Address(Slot = "4")] float ToSingle(object value); /// Converts a value to a . /// The object to be converted. /// The converted . // Token: 0x0600248C RID: 9356 [Token(Token = "0x600248C")] [Address(Slot = "5")] string ToString(object value); } }