263 lines
16 KiB
C#
263 lines
16 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a nonexistent value. This class cannot be inherited.</summary>
|
|
// Token: 0x020000DA RID: 218
|
|
[Token(Token = "0x20000DA")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class DBNull : ISerializable, IConvertible
|
|
{
|
|
// Token: 0x060007B9 RID: 1977 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007B9")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
private DBNull()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060007BA RID: 1978 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007BA")]
|
|
[Address(RVA = "0xD59D00", Offset = "0xD58D00", VA = "0x180D59D00")]
|
|
private DBNull(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and returns the data needed to serialize the <see cref="T:System.DBNull" /> object.</summary>
|
|
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object containing information required to serialize the <see cref="T:System.DBNull" /> object.</param>
|
|
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object containing the source and destination of the serialized stream associated with the <see cref="T:System.DBNull" /> object.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
|
// Token: 0x060007BB RID: 1979 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60007BB")]
|
|
[Address(RVA = "0xD59550", Offset = "0xD58550", VA = "0x180D59550", Slot = "4")]
|
|
public void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns an empty string (<see cref="F:System.String.Empty" />).</summary>
|
|
/// <returns>An empty string (<see cref="F:System.String.Empty" />).</returns>
|
|
// Token: 0x060007BC RID: 1980 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60007BC")]
|
|
[Address(RVA = "0xD59C60", Offset = "0xD58C60", VA = "0x180D59C60", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an empty string using the specified <see cref="T:System.IFormatProvider" />.</summary>
|
|
/// <param name="provider">The <see cref="T:System.IFormatProvider" /> to be used to format the return value.
|
|
/// -or-
|
|
/// <see langword="null" /> to obtain the format information from the current locale setting of the operating system.</param>
|
|
/// <returns>An empty string (<see cref="F:System.String.Empty" />).</returns>
|
|
// Token: 0x060007BD RID: 1981 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60007BD")]
|
|
[Address(RVA = "0xD59C20", Offset = "0xD58C20", VA = "0x180D59C20", Slot = "20")]
|
|
public string ToString(IFormatProvider provider)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.TypeCode" /> value for <see cref="T:System.DBNull" />.</summary>
|
|
/// <returns>The <see cref="T:System.TypeCode" /> value for <see cref="T:System.DBNull" />, which is <see cref="F:System.TypeCode.DBNull" />.</returns>
|
|
// Token: 0x060007BE RID: 1982 RVA: 0x00007038 File Offset: 0x00005238
|
|
[Token(Token = "0x60007BE")]
|
|
[Address(RVA = "0x4E86A0", Offset = "0x4E76A0", VA = "0x1804E86A0", Slot = "5")]
|
|
public TypeCode GetTypeCode()
|
|
{
|
|
return TypeCode.Empty;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007BF RID: 1983 RVA: 0x00007050 File Offset: 0x00005250
|
|
[Token(Token = "0x60007BF")]
|
|
[Address(RVA = "0xD59580", Offset = "0xD58580", VA = "0x180D59580", Slot = "6")]
|
|
bool IConvertible.ToBoolean(IFormatProvider provider)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C0 RID: 1984 RVA: 0x00007068 File Offset: 0x00005268
|
|
[Token(Token = "0x60007C0")]
|
|
[Address(RVA = "0xD59660", Offset = "0xD58660", VA = "0x180D59660", Slot = "7")]
|
|
char IConvertible.ToChar(IFormatProvider provider)
|
|
{
|
|
return '\0';
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C1 RID: 1985 RVA: 0x00007080 File Offset: 0x00005280
|
|
[Token(Token = "0x60007C1")]
|
|
[Address(RVA = "0xD59970", Offset = "0xD58970", VA = "0x180D59970", Slot = "8")]
|
|
sbyte IConvertible.ToSByte(IFormatProvider provider)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C2 RID: 1986 RVA: 0x00007098 File Offset: 0x00005298
|
|
[Token(Token = "0x60007C2")]
|
|
[Address(RVA = "0xD595F0", Offset = "0xD585F0", VA = "0x180D595F0", Slot = "9")]
|
|
byte IConvertible.ToByte(IFormatProvider provider)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C3 RID: 1987 RVA: 0x000070B0 File Offset: 0x000052B0
|
|
[Token(Token = "0x60007C3")]
|
|
[Address(RVA = "0xD59820", Offset = "0xD58820", VA = "0x180D59820", Slot = "10")]
|
|
short IConvertible.ToInt16(IFormatProvider provider)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C4 RID: 1988 RVA: 0x000070C8 File Offset: 0x000052C8
|
|
[Token(Token = "0x60007C4")]
|
|
[Address(RVA = "0xD59AD0", Offset = "0xD58AD0", VA = "0x180D59AD0", Slot = "11")]
|
|
ushort IConvertible.ToUInt16(IFormatProvider provider)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C5 RID: 1989 RVA: 0x000070E0 File Offset: 0x000052E0
|
|
[Token(Token = "0x60007C5")]
|
|
[Address(RVA = "0xD59890", Offset = "0xD58890", VA = "0x180D59890", Slot = "12")]
|
|
int IConvertible.ToInt32(IFormatProvider provider)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C6 RID: 1990 RVA: 0x000070F8 File Offset: 0x000052F8
|
|
[Token(Token = "0x60007C6")]
|
|
[Address(RVA = "0xD59B40", Offset = "0xD58B40", VA = "0x180D59B40", Slot = "13")]
|
|
uint IConvertible.ToUInt32(IFormatProvider provider)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C7 RID: 1991 RVA: 0x00007110 File Offset: 0x00005310
|
|
[Token(Token = "0x60007C7")]
|
|
[Address(RVA = "0xD59900", Offset = "0xD58900", VA = "0x180D59900", Slot = "14")]
|
|
long IConvertible.ToInt64(IFormatProvider provider)
|
|
{
|
|
return 0L;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C8 RID: 1992 RVA: 0x00007128 File Offset: 0x00005328
|
|
[Token(Token = "0x60007C8")]
|
|
[Address(RVA = "0xD59BB0", Offset = "0xD58BB0", VA = "0x180D59BB0", Slot = "15")]
|
|
ulong IConvertible.ToUInt64(IFormatProvider provider)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007C9 RID: 1993 RVA: 0x00007140 File Offset: 0x00005340
|
|
[Token(Token = "0x60007C9")]
|
|
[Address(RVA = "0xD599E0", Offset = "0xD589E0", VA = "0x180D599E0", Slot = "16")]
|
|
float IConvertible.ToSingle(IFormatProvider provider)
|
|
{
|
|
return 0f;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007CA RID: 1994 RVA: 0x00007158 File Offset: 0x00005358
|
|
[Token(Token = "0x60007CA")]
|
|
[Address(RVA = "0xD597B0", Offset = "0xD587B0", VA = "0x180D597B0", Slot = "17")]
|
|
double IConvertible.ToDouble(IFormatProvider provider)
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007CB RID: 1995 RVA: 0x00007170 File Offset: 0x00005370
|
|
[Token(Token = "0x60007CB")]
|
|
[Address(RVA = "0xD59740", Offset = "0xD58740", VA = "0x180D59740", Slot = "18")]
|
|
decimal IConvertible.ToDecimal(IFormatProvider provider)
|
|
{
|
|
return 0m;
|
|
}
|
|
|
|
/// <summary>This conversion is not supported. Attempting to make this conversion throws an <see cref="T:System.InvalidCastException" />.</summary>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface. (This parameter is not used; specify <see langword="null" />.)</param>
|
|
/// <returns>None. The return value for this member is not used.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
// Token: 0x060007CC RID: 1996 RVA: 0x00007188 File Offset: 0x00005388
|
|
[Token(Token = "0x60007CC")]
|
|
[Address(RVA = "0xD596D0", Offset = "0xD586D0", VA = "0x180D596D0", Slot = "19")]
|
|
DateTime IConvertible.ToDateTime(IFormatProvider provider)
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
|
|
/// <summary>Converts the current <see cref="T:System.DBNull" /> object to the specified type.</summary>
|
|
/// <param name="type">The type to convert the current <see cref="T:System.DBNull" /> object to.</param>
|
|
/// <param name="provider">An object that implements the <see cref="T:System.IFormatProvider" /> interface and is used to augment the conversion. If <see langword="null" /> is specified, format information is obtained from the current culture.</param>
|
|
/// <returns>The boxed equivalent of the current <see cref="T:System.DBNull" /> object, if that conversion is supported; otherwise, an exception is thrown and no value is returned.</returns>
|
|
/// <exception cref="T:System.InvalidCastException">This conversion is not supported for the <see cref="T:System.DBNull" /> type.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="type" /> is <see langword="null" />.</exception>
|
|
// Token: 0x060007CD RID: 1997 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60007CD")]
|
|
[Address(RVA = "0xD59A50", Offset = "0xD58A50", VA = "0x180D59A50", Slot = "21")]
|
|
object IConvertible.ToType(Type type, IFormatProvider provider)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Represents the sole instance of the <see cref="T:System.DBNull" /> class.</summary>
|
|
// Token: 0x04000328 RID: 808
|
|
[Token(Token = "0x4000328")]
|
|
public static readonly DBNull Value;
|
|
}
|
|
}
|