m
This commit is contained in:
@@ -0,0 +1,378 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Represents a Boolean (<see langword="true" /> or <see langword="false" />) value.</summary>
|
||||
// Token: 0x020000C3 RID: 195
|
||||
[Token(Token = "0x20000C3")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public struct Boolean : IComparable, IConvertible, IComparable<bool>, IEquatable<bool>
|
||||
{
|
||||
/// <summary>Returns the hash code for this instance.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Boolean" />.</returns>
|
||||
// Token: 0x06000582 RID: 1410 RVA: 0x00004578 File Offset: 0x00002778
|
||||
[Token(Token = "0x6000582")]
|
||||
[Address(RVA = "0x2D0CF00", Offset = "0x2D0BF00", VA = "0x182D0CF00", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Converts the value of this instance to its equivalent string representation (either "True" or "False").</summary>
|
||||
/// <returns>"True" (the value of the <see cref="F:System.Boolean.TrueString" /> property) if the value of this instance is <see langword="true" />, or "False" (the value of the <see cref="F:System.Boolean.FalseString" /> property) if the value of this instance is <see langword="false" />.</returns>
|
||||
// Token: 0x06000583 RID: 1411 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000583")]
|
||||
[Address(RVA = "0x2D0D6C0", Offset = "0x2D0C6C0", VA = "0x182D0D6C0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Converts the value of this instance to its equivalent string representation (either "True" or "False").</summary>
|
||||
/// <param name="provider">(Reserved) An <see cref="T:System.IFormatProvider" /> object.</param>
|
||||
/// <returns>
|
||||
/// <see cref="F:System.Boolean.TrueString" /> if the value of this instance is <see langword="true" />, or <see cref="F:System.Boolean.FalseString" /> if the value of this instance is <see langword="false" />.</returns>
|
||||
// Token: 0x06000584 RID: 1412 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000584")]
|
||||
[Address(RVA = "0x2D0D680", Offset = "0x2D0C680", VA = "0x182D0D680", Slot = "20")]
|
||||
public string ToString(IFormatProvider provider)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a value indicating whether this instance is equal to a specified object.</summary>
|
||||
/// <param name="obj">An object to compare to this instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Boolean" /> and has the same value as this instance; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000585 RID: 1413 RVA: 0x00004590 File Offset: 0x00002790
|
||||
[Token(Token = "0x6000585")]
|
||||
[Address(RVA = "0x2D0CE70", Offset = "0x2D0BE70", VA = "0x182D0CE70", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns a value indicating whether this instance is equal to a specified <see cref="T:System.Boolean" /> object.</summary>
|
||||
/// <param name="obj">A <see cref="T:System.Boolean" /> value to compare to this instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> has the same value as this instance; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000586 RID: 1414 RVA: 0x000045A8 File Offset: 0x000027A8
|
||||
[Token(Token = "0x6000586")]
|
||||
[Address(RVA = "0xC13250", Offset = "0xC12250", VA = "0x180C13250", Slot = "23")]
|
||||
public bool Equals(bool obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Compares this instance to a specified object and returns an integer that indicates their relationship to one another.</summary>
|
||||
/// <param name="obj">An object to compare to this instance, or <see langword="null" />.</param>
|
||||
/// <returns>A signed integer that indicates the relative order of this instance and <paramref name="obj" />.
|
||||
/// Return Value
|
||||
///
|
||||
/// Condition
|
||||
///
|
||||
/// Less than zero
|
||||
///
|
||||
/// This instance is <see langword="false" /> and <paramref name="obj" /> is <see langword="true" />.
|
||||
///
|
||||
/// Zero
|
||||
///
|
||||
/// This instance and <paramref name="obj" /> are equal (either both are <see langword="true" /> or both are <see langword="false" />).
|
||||
///
|
||||
/// Greater than zero
|
||||
///
|
||||
/// This instance is <see langword="true" /> and <paramref name="obj" /> is <see langword="false" />.
|
||||
///
|
||||
/// -or-
|
||||
///
|
||||
/// <paramref name="obj" /> is <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="obj" /> is not a <see cref="T:System.Boolean" />.</exception>
|
||||
// Token: 0x06000587 RID: 1415 RVA: 0x000045C0 File Offset: 0x000027C0
|
||||
[Token(Token = "0x6000587")]
|
||||
[Address(RVA = "0x2D0CD80", Offset = "0x2D0BD80", VA = "0x182D0CD80", Slot = "4")]
|
||||
public int CompareTo(object obj)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Compares this instance to a specified <see cref="T:System.Boolean" /> object and returns an integer that indicates their relationship to one another.</summary>
|
||||
/// <param name="value">A <see cref="T:System.Boolean" /> object to compare to this instance.</param>
|
||||
/// <returns>A signed integer that indicates the relative values of this instance and <paramref name="value" />.
|
||||
/// Return Value
|
||||
///
|
||||
/// Condition
|
||||
///
|
||||
/// Less than zero
|
||||
///
|
||||
/// This instance is <see langword="false" /> and <paramref name="value" /> is <see langword="true" />.
|
||||
///
|
||||
/// Zero
|
||||
///
|
||||
/// This instance and <paramref name="value" /> are equal (either both are <see langword="true" /> or both are <see langword="false" />).
|
||||
///
|
||||
/// Greater than zero
|
||||
///
|
||||
/// This instance is <see langword="true" /> and <paramref name="value" /> is <see langword="false" />.</returns>
|
||||
// Token: 0x06000588 RID: 1416 RVA: 0x000045D8 File Offset: 0x000027D8
|
||||
[Token(Token = "0x6000588")]
|
||||
[Address(RVA = "0x2D0CD60", Offset = "0x2D0BD60", VA = "0x182D0CD60", Slot = "22")]
|
||||
public int CompareTo(bool value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified string representation of a logical value to its <see cref="T:System.Boolean" /> equivalent.</summary>
|
||||
/// <param name="value">A string containing the value to convert.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is equivalent to <see cref="F:System.Boolean.TrueString" />; <see langword="false" /> if <paramref name="value" /> is equivalent to <see cref="F:System.Boolean.FalseString" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.FormatException">
|
||||
/// <paramref name="value" /> is not equivalent to <see cref="F:System.Boolean.TrueString" /> or <see cref="F:System.Boolean.FalseString" />.</exception>
|
||||
// Token: 0x06000589 RID: 1417 RVA: 0x000045F0 File Offset: 0x000027F0
|
||||
[Token(Token = "0x6000589")]
|
||||
[Address(RVA = "0x2D0CF10", Offset = "0x2D0BF10", VA = "0x182D0CF10")]
|
||||
public static bool Parse(string value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Tries to convert the specified string representation of a logical value to its <see cref="T:System.Boolean" /> equivalent. A return value indicates whether the conversion succeeded or failed.</summary>
|
||||
/// <param name="value">A string containing the value to convert.</param>
|
||||
/// <param name="result">When this method returns, if the conversion succeeded, contains <see langword="true" /> if <paramref name="value" /> is equal to <see cref="F:System.Boolean.TrueString" /> or <see langword="false" /> if <paramref name="value" /> is equal to <see cref="F:System.Boolean.FalseString" />. If the conversion failed, contains <see langword="false" />. The conversion fails if <paramref name="value" /> is <see langword="null" /> or is not equal to the value of either the <see cref="F:System.Boolean.TrueString" /> or <see cref="F:System.Boolean.FalseString" /> field.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> was converted successfully; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x0600058A RID: 1418 RVA: 0x00004608 File Offset: 0x00002808
|
||||
[Token(Token = "0x600058A")]
|
||||
[Address(RVA = "0x2D0D830", Offset = "0x2D0C830", VA = "0x182D0D830")]
|
||||
public static bool TryParse(string value, out bool result)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600058B RID: 1419 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600058B")]
|
||||
[Address(RVA = "0x2D0D700", Offset = "0x2D0C700", VA = "0x182D0D700")]
|
||||
private static string TrimWhiteSpaceAndNull(string value)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the type code for the <see cref="T:System.Boolean" /> value type.</summary>
|
||||
/// <returns>The enumerated constant <see cref="F:System.TypeCode.Boolean" />.</returns>
|
||||
// Token: 0x0600058C RID: 1420 RVA: 0x00004620 File Offset: 0x00002820
|
||||
[Token(Token = "0x600058C")]
|
||||
[Address(RVA = "0x4DB5B0", Offset = "0x4DA5B0", VA = "0x1804DB5B0", Slot = "5")]
|
||||
public TypeCode GetTypeCode()
|
||||
{
|
||||
return TypeCode.Empty;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToBoolean(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> or <see langword="false" />.</returns>
|
||||
// Token: 0x0600058D RID: 1421 RVA: 0x00004638 File Offset: 0x00002838
|
||||
[Token(Token = "0x600058D")]
|
||||
[Address(RVA = "0x2D0D000", Offset = "0x2D0C000", VA = "0x182D0D000", Slot = "6")]
|
||||
bool IConvertible.ToBoolean(IFormatProvider provider)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>This conversion is not supported. Attempting to use this method throws an <see cref="T:System.InvalidCastException" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>This conversion is not supported. No value is returned.</returns>
|
||||
/// <exception cref="T:System.InvalidCastException">You attempt to convert a <see cref="T:System.Boolean" /> value to a <see cref="T:System.Char" /> value. This conversion is not supported.</exception>
|
||||
// Token: 0x0600058E RID: 1422 RVA: 0x00004650 File Offset: 0x00002850
|
||||
[Token(Token = "0x600058E")]
|
||||
[Address(RVA = "0x2D0D070", Offset = "0x2D0C070", VA = "0x182D0D070", Slot = "7")]
|
||||
char IConvertible.ToChar(IFormatProvider provider)
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToSByte(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x0600058F RID: 1423 RVA: 0x00004668 File Offset: 0x00002868
|
||||
[Token(Token = "0x600058F")]
|
||||
[Address(RVA = "0x2D0D410", Offset = "0x2D0C410", VA = "0x182D0D410", Slot = "8")]
|
||||
sbyte IConvertible.ToSByte(IFormatProvider provider)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToByte(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if the value of this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000590 RID: 1424 RVA: 0x00004680 File Offset: 0x00002880
|
||||
[Token(Token = "0x6000590")]
|
||||
[Address(RVA = "0x2D0D010", Offset = "0x2D0C010", VA = "0x182D0D010", Slot = "9")]
|
||||
byte IConvertible.ToByte(IFormatProvider provider)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToInt16(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000591 RID: 1425 RVA: 0x00004698 File Offset: 0x00002898
|
||||
[Token(Token = "0x6000591")]
|
||||
[Address(RVA = "0x2D0D2F0", Offset = "0x2D0C2F0", VA = "0x182D0D2F0", Slot = "10")]
|
||||
short IConvertible.ToInt16(IFormatProvider provider)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToUInt16(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000592 RID: 1426 RVA: 0x000046B0 File Offset: 0x000028B0
|
||||
[Token(Token = "0x6000592")]
|
||||
[Address(RVA = "0x2D0D560", Offset = "0x2D0C560", VA = "0x182D0D560", Slot = "11")]
|
||||
ushort IConvertible.ToUInt16(IFormatProvider provider)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToInt32(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000593 RID: 1427 RVA: 0x000046C8 File Offset: 0x000028C8
|
||||
[Token(Token = "0x6000593")]
|
||||
[Address(RVA = "0x2D0D350", Offset = "0x2D0C350", VA = "0x182D0D350", Slot = "12")]
|
||||
int IConvertible.ToInt32(IFormatProvider provider)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToUInt32(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000594 RID: 1428 RVA: 0x000046E0 File Offset: 0x000028E0
|
||||
[Token(Token = "0x6000594")]
|
||||
[Address(RVA = "0x2D0D5C0", Offset = "0x2D0C5C0", VA = "0x182D0D5C0", Slot = "13")]
|
||||
uint IConvertible.ToUInt32(IFormatProvider provider)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToInt64(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000595 RID: 1429 RVA: 0x000046F8 File Offset: 0x000028F8
|
||||
[Token(Token = "0x6000595")]
|
||||
[Address(RVA = "0x2D0D3B0", Offset = "0x2D0C3B0", VA = "0x182D0D3B0", Slot = "14")]
|
||||
long IConvertible.ToInt64(IFormatProvider provider)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToUInt64(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000596 RID: 1430 RVA: 0x00004710 File Offset: 0x00002910
|
||||
[Token(Token = "0x6000596")]
|
||||
[Address(RVA = "0x2D0D620", Offset = "0x2D0C620", VA = "0x182D0D620", Slot = "15")]
|
||||
ulong IConvertible.ToUInt64(IFormatProvider provider)
|
||||
{
|
||||
return 0UL;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToSingle(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000597 RID: 1431 RVA: 0x00004728 File Offset: 0x00002928
|
||||
[Token(Token = "0x6000597")]
|
||||
[Address(RVA = "0x2D0D470", Offset = "0x2D0C470", VA = "0x182D0D470", Slot = "16")]
|
||||
float IConvertible.ToSingle(IFormatProvider provider)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToDouble(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000598 RID: 1432 RVA: 0x00004740 File Offset: 0x00002940
|
||||
[Token(Token = "0x6000598")]
|
||||
[Address(RVA = "0x2D0D290", Offset = "0x2D0C290", VA = "0x182D0D290", Slot = "17")]
|
||||
double IConvertible.ToDouble(IFormatProvider provider)
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToDecimal(System.IFormatProvider)" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>1 if this instance is <see langword="true" />; otherwise, 0.</returns>
|
||||
// Token: 0x06000599 RID: 1433 RVA: 0x00004758 File Offset: 0x00002958
|
||||
[Token(Token = "0x6000599")]
|
||||
[Address(RVA = "0x2D0D210", Offset = "0x2D0C210", VA = "0x182D0D210", Slot = "18")]
|
||||
decimal IConvertible.ToDecimal(IFormatProvider provider)
|
||||
{
|
||||
return 0m;
|
||||
}
|
||||
|
||||
/// <summary>This conversion is not supported. Attempting to use this method throws an <see cref="T:System.InvalidCastException" />.</summary>
|
||||
/// <param name="provider">This parameter is ignored.</param>
|
||||
/// <returns>This conversion is not supported. No value is returned.</returns>
|
||||
/// <exception cref="T:System.InvalidCastException">You attempt to convert a <see cref="T:System.Boolean" /> value to a <see cref="T:System.DateTime" /> value. This conversion is not supported.</exception>
|
||||
// Token: 0x0600059A RID: 1434 RVA: 0x00004770 File Offset: 0x00002970
|
||||
[Token(Token = "0x600059A")]
|
||||
[Address(RVA = "0x2D0D140", Offset = "0x2D0C140", VA = "0x182D0D140", Slot = "19")]
|
||||
DateTime IConvertible.ToDateTime(IFormatProvider provider)
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
|
||||
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToType(System.Type,System.IFormatProvider)" />.</summary>
|
||||
/// <param name="type">The desired type.</param>
|
||||
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> implementation that supplies culture-specific information about the format of the returned value.</param>
|
||||
/// <returns>An object of the specified type, with a value that is equivalent to the value of this <see langword="Boolean" /> object.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The requested type conversion is not supported.</exception>
|
||||
// Token: 0x0600059B RID: 1435 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600059B")]
|
||||
[Address(RVA = "0x2D0D4D0", Offset = "0x2D0C4D0", VA = "0x182D0D4D0", Slot = "21")]
|
||||
object IConvertible.ToType(Type type, IFormatProvider provider)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400021F RID: 543
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400021F")]
|
||||
private bool m_value;
|
||||
|
||||
// Token: 0x04000220 RID: 544
|
||||
[Token(Token = "0x4000220")]
|
||||
internal const int True = 1;
|
||||
|
||||
// Token: 0x04000221 RID: 545
|
||||
[Token(Token = "0x4000221")]
|
||||
internal const int False = 0;
|
||||
|
||||
// Token: 0x04000222 RID: 546
|
||||
[Token(Token = "0x4000222")]
|
||||
internal const string TrueLiteral = "True";
|
||||
|
||||
// Token: 0x04000223 RID: 547
|
||||
[Token(Token = "0x4000223")]
|
||||
internal const string FalseLiteral = "False";
|
||||
|
||||
/// <summary>Represents the Boolean value <see langword="true" /> as a string. This field is read-only.</summary>
|
||||
// Token: 0x04000224 RID: 548
|
||||
[Token(Token = "0x4000224")]
|
||||
public static readonly string TrueString;
|
||||
|
||||
/// <summary>Represents the Boolean value <see langword="false" /> as a string. This field is read-only.</summary>
|
||||
// Token: 0x04000225 RID: 549
|
||||
[Token(Token = "0x4000225")]
|
||||
public static readonly string FalseString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user