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: 0x020000D3 RID: 211
|
|
[Token(Token = "0x20000D3")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class DBNull : ISerializable, IConvertible
|
|
{
|
|
// Token: 0x06000799 RID: 1945 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000799")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
private DBNull()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600079A RID: 1946 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600079A")]
|
|
[Address(RVA = "0x2A8DAC0", Offset = "0x2A8C8C0", VA = "0x182A8DAC0")]
|
|
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: 0x0600079B RID: 1947 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600079B")]
|
|
[Address(RVA = "0x2A8D310", Offset = "0x2A8C110", VA = "0x182A8D310", 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: 0x0600079C RID: 1948 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600079C")]
|
|
[Address(RVA = "0x2A8DA20", Offset = "0x2A8C820", VA = "0x182A8DA20", 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: 0x0600079D RID: 1949 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600079D")]
|
|
[Address(RVA = "0x2A8D9E0", Offset = "0x2A8C7E0", VA = "0x182A8D9E0", 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: 0x0600079E RID: 1950 RVA: 0x00006F00 File Offset: 0x00005100
|
|
[Token(Token = "0x600079E")]
|
|
[Address(RVA = "0x460DB0", Offset = "0x45FBB0", VA = "0x180460DB0", 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: 0x0600079F RID: 1951 RVA: 0x00006F18 File Offset: 0x00005118
|
|
[Token(Token = "0x600079F")]
|
|
[Address(RVA = "0x2A8D340", Offset = "0x2A8C140", VA = "0x182A8D340", 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: 0x060007A0 RID: 1952 RVA: 0x00006F30 File Offset: 0x00005130
|
|
[Token(Token = "0x60007A0")]
|
|
[Address(RVA = "0x2A8D420", Offset = "0x2A8C220", VA = "0x182A8D420", 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: 0x060007A1 RID: 1953 RVA: 0x00006F48 File Offset: 0x00005148
|
|
[Token(Token = "0x60007A1")]
|
|
[Address(RVA = "0x2A8D730", Offset = "0x2A8C530", VA = "0x182A8D730", 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: 0x060007A2 RID: 1954 RVA: 0x00006F60 File Offset: 0x00005160
|
|
[Token(Token = "0x60007A2")]
|
|
[Address(RVA = "0x2A8D3B0", Offset = "0x2A8C1B0", VA = "0x182A8D3B0", 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: 0x060007A3 RID: 1955 RVA: 0x00006F78 File Offset: 0x00005178
|
|
[Token(Token = "0x60007A3")]
|
|
[Address(RVA = "0x2A8D5E0", Offset = "0x2A8C3E0", VA = "0x182A8D5E0", 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: 0x060007A4 RID: 1956 RVA: 0x00006F90 File Offset: 0x00005190
|
|
[Token(Token = "0x60007A4")]
|
|
[Address(RVA = "0x2A8D890", Offset = "0x2A8C690", VA = "0x182A8D890", 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: 0x060007A5 RID: 1957 RVA: 0x00006FA8 File Offset: 0x000051A8
|
|
[Token(Token = "0x60007A5")]
|
|
[Address(RVA = "0x2A8D650", Offset = "0x2A8C450", VA = "0x182A8D650", 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: 0x060007A6 RID: 1958 RVA: 0x00006FC0 File Offset: 0x000051C0
|
|
[Token(Token = "0x60007A6")]
|
|
[Address(RVA = "0x2A8D900", Offset = "0x2A8C700", VA = "0x182A8D900", 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: 0x060007A7 RID: 1959 RVA: 0x00006FD8 File Offset: 0x000051D8
|
|
[Token(Token = "0x60007A7")]
|
|
[Address(RVA = "0x2A8D6C0", Offset = "0x2A8C4C0", VA = "0x182A8D6C0", 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: 0x060007A8 RID: 1960 RVA: 0x00006FF0 File Offset: 0x000051F0
|
|
[Token(Token = "0x60007A8")]
|
|
[Address(RVA = "0x2A8D970", Offset = "0x2A8C770", VA = "0x182A8D970", 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: 0x060007A9 RID: 1961 RVA: 0x00007008 File Offset: 0x00005208
|
|
[Token(Token = "0x60007A9")]
|
|
[Address(RVA = "0x2A8D7A0", Offset = "0x2A8C5A0", VA = "0x182A8D7A0", 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: 0x060007AA RID: 1962 RVA: 0x00007020 File Offset: 0x00005220
|
|
[Token(Token = "0x60007AA")]
|
|
[Address(RVA = "0x2A8D570", Offset = "0x2A8C370", VA = "0x182A8D570", 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: 0x060007AB RID: 1963 RVA: 0x00007038 File Offset: 0x00005238
|
|
[Token(Token = "0x60007AB")]
|
|
[Address(RVA = "0x2A8D500", Offset = "0x2A8C300", VA = "0x182A8D500", 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: 0x060007AC RID: 1964 RVA: 0x00007050 File Offset: 0x00005250
|
|
[Token(Token = "0x60007AC")]
|
|
[Address(RVA = "0x2A8D490", Offset = "0x2A8C290", VA = "0x182A8D490", 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: 0x060007AD RID: 1965 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60007AD")]
|
|
[Address(RVA = "0x2A8D810", Offset = "0x2A8C610", VA = "0x182A8D810", 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: 0x0400031E RID: 798
|
|
[Token(Token = "0x400031E")]
|
|
public static readonly DBNull Value;
|
|
}
|
|
}
|