using System;
using System.Runtime.InteropServices;
namespace System
{
/// Defines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value.
/// 2
// Token: 0x02000008 RID: 8
[ComVisible(true)]
[CLSCompliant(false)]
public interface IConvertible
{
/// Returns the for this instance.
/// The enumerated constant that is the of the class or value type that implements this interface.
/// 2
// Token: 0x06000070 RID: 112
TypeCode GetTypeCode();
/// Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
/// A Boolean value equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000071 RID: 113
bool ToBoolean(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
/// An 8-bit unsigned integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000072 RID: 114
byte ToByte(IFormatProvider provider);
/// Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
/// A Unicode character equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000073 RID: 115
char ToChar(IFormatProvider provider);
/// Converts the value of this instance to an equivalent using the specified culture-specific formatting information.
/// A instance equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000074 RID: 116
DateTime ToDateTime(IFormatProvider provider);
/// Converts the value of this instance to an equivalent number using the specified culture-specific formatting information.
/// A number equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000075 RID: 117
decimal ToDecimal(IFormatProvider provider);
/// Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
/// A double-precision floating-point number equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000076 RID: 118
double ToDouble(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
/// An 16-bit signed integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000077 RID: 119
short ToInt16(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
/// An 32-bit signed integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000078 RID: 120
int ToInt32(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
/// An 64-bit signed integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000079 RID: 121
long ToInt64(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
/// An 8-bit signed integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007A RID: 122
sbyte ToSByte(IFormatProvider provider);
/// Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
/// A single-precision floating-point number equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007B RID: 123
float ToSingle(IFormatProvider provider);
/// Converts the value of this instance to an equivalent using the specified culture-specific formatting information.
/// A instance equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007C RID: 124
string ToString(IFormatProvider provider);
/// Converts the value of this instance to an of the specified that has an equivalent value, using the specified culture-specific formatting information.
/// An instance of type whose value is equivalent to the value of this instance.
/// The to which the value of this instance is converted.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007D RID: 125
object ToType(Type conversionType, IFormatProvider provider);
/// Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
/// An 16-bit unsigned integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007E RID: 126
ushort ToUInt16(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
/// An 32-bit unsigned integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x0600007F RID: 127
uint ToUInt32(IFormatProvider provider);
/// Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
/// An 64-bit unsigned integer equivalent to the value of this instance.
/// An interface implementation that supplies culture-specific formatting information.
/// 2
// Token: 0x06000080 RID: 128
ulong ToUInt64(IFormatProvider provider);
}
}