Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

151 lines
9.7 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Defines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value.</summary>
// Token: 0x0200010C RID: 268
[Token(Token = "0x200010C")]
[CLSCompliant(false)]
[ComVisible(true)]
public interface IConvertible
{
/// <summary>Returns the <see cref="T:System.TypeCode" /> for this instance.</summary>
/// <returns>The enumerated constant that is the <see cref="T:System.TypeCode" /> of the class or value type that implements this interface.</returns>
// Token: 0x060009C7 RID: 2503
[Token(Token = "0x60009C7")]
[Address(Slot = "0")]
TypeCode GetTypeCode();
/// <summary>Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A Boolean value equivalent to the value of this instance.</returns>
// Token: 0x060009C8 RID: 2504
[Token(Token = "0x60009C8")]
[Address(Slot = "1")]
bool ToBoolean(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A Unicode character equivalent to the value of this instance.</returns>
// Token: 0x060009C9 RID: 2505
[Token(Token = "0x60009C9")]
[Address(Slot = "2")]
char ToChar(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 8-bit signed integer equivalent to the value of this instance.</returns>
// Token: 0x060009CA RID: 2506
[Token(Token = "0x60009CA")]
[Address(Slot = "3")]
sbyte ToSByte(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 8-bit unsigned integer equivalent to the value of this instance.</returns>
// Token: 0x060009CB RID: 2507
[Token(Token = "0x60009CB")]
[Address(Slot = "4")]
byte ToByte(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 16-bit signed integer equivalent to the value of this instance.</returns>
// Token: 0x060009CC RID: 2508
[Token(Token = "0x60009CC")]
[Address(Slot = "5")]
short ToInt16(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 16-bit unsigned integer equivalent to the value of this instance.</returns>
// Token: 0x060009CD RID: 2509
[Token(Token = "0x60009CD")]
[Address(Slot = "6")]
ushort ToUInt16(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 32-bit signed integer equivalent to the value of this instance.</returns>
// Token: 0x060009CE RID: 2510
[Token(Token = "0x60009CE")]
[Address(Slot = "7")]
int ToInt32(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 32-bit unsigned integer equivalent to the value of this instance.</returns>
// Token: 0x060009CF RID: 2511
[Token(Token = "0x60009CF")]
[Address(Slot = "8")]
uint ToUInt32(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 64-bit signed integer equivalent to the value of this instance.</returns>
// Token: 0x060009D0 RID: 2512
[Token(Token = "0x60009D0")]
[Address(Slot = "9")]
long ToInt64(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An 64-bit unsigned integer equivalent to the value of this instance.</returns>
// Token: 0x060009D1 RID: 2513
[Token(Token = "0x60009D1")]
[Address(Slot = "10")]
ulong ToUInt64(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A single-precision floating-point number equivalent to the value of this instance.</returns>
// Token: 0x060009D2 RID: 2514
[Token(Token = "0x60009D2")]
[Address(Slot = "11")]
float ToSingle(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A double-precision floating-point number equivalent to the value of this instance.</returns>
// Token: 0x060009D3 RID: 2515
[Token(Token = "0x60009D3")]
[Address(Slot = "12")]
double ToDouble(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent <see cref="T:System.Decimal" /> number using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A <see cref="T:System.Decimal" /> number equivalent to the value of this instance.</returns>
// Token: 0x060009D4 RID: 2516
[Token(Token = "0x60009D4")]
[Address(Slot = "13")]
decimal ToDecimal(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent <see cref="T:System.DateTime" /> using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A <see cref="T:System.DateTime" /> instance equivalent to the value of this instance.</returns>
// Token: 0x060009D5 RID: 2517
[Token(Token = "0x60009D5")]
[Address(Slot = "14")]
DateTime ToDateTime(IFormatProvider provider);
/// <summary>Converts the value of this instance to an equivalent <see cref="T:System.String" /> using the specified culture-specific formatting information.</summary>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>A <see cref="T:System.String" /> instance equivalent to the value of this instance.</returns>
// Token: 0x060009D6 RID: 2518
[Token(Token = "0x60009D6")]
[Address(Slot = "15")]
string ToString(IFormatProvider provider);
/// <summary>Converts the value of this instance to an <see cref="T:System.Object" /> of the specified <see cref="T:System.Type" /> that has an equivalent value, using the specified culture-specific formatting information.</summary>
/// <param name="conversionType">The <see cref="T:System.Type" /> to which the value of this instance is converted.</param>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> interface implementation that supplies culture-specific formatting information.</param>
/// <returns>An <see cref="T:System.Object" /> instance of type <paramref name="conversionType" /> whose value is equivalent to the value of this instance.</returns>
// Token: 0x060009D7 RID: 2519
[Token(Token = "0x60009D7")]
[Address(Slot = "16")]
object ToType(Type conversionType, IFormatProvider provider);
}
}