using System;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// Represents a 16-bit unsigned integer.
// Token: 0x02000159 RID: 345
[Token(Token = "0x2000159")]
[ComVisible(true)]
[CLSCompliant(false)]
[Serializable]
public struct UInt16 : IComparable, IFormattable, IConvertible, IComparable, IEquatable
{
/// Compares this instance to a specified object and returns an indication of their relative values.
/// An object to compare, or .
/// A signed number indicating the relative values of this instance and .
/// Return Value
///
/// Description
///
/// Less than zero
///
/// This instance is less than .
///
/// Zero
///
/// This instance is equal to .
///
/// Greater than zero
///
/// This instance is greater than .
///
/// -or-
///
/// is .
///
/// is not a .
// Token: 0x06000E1C RID: 3612 RVA: 0x0000BE20 File Offset: 0x0000A020
[Token(Token = "0x6000E1C")]
[Address(RVA = "0xF83E40", Offset = "0xF82E40", VA = "0x180F83E40", Slot = "4")]
public int CompareTo(object value)
{
return 0;
}
/// Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values.
/// An unsigned integer to compare.
/// A signed number indicating the relative values of this instance and .
/// Return Value
///
/// Description
///
/// Less than zero
///
/// This instance is less than .
///
/// Zero
///
/// This instance is equal to .
///
/// Greater than zero
///
/// This instance is greater than .
// Token: 0x06000E1D RID: 3613 RVA: 0x0000BE38 File Offset: 0x0000A038
[Token(Token = "0x6000E1D")]
[Address(RVA = "0xF83F10", Offset = "0xF82F10", VA = "0x180F83F10", Slot = "23")]
public int CompareTo(ushort value)
{
return 0;
}
/// Returns a value indicating whether this instance is equal to a specified object.
/// An object to compare to this instance.
///
/// if is an instance of and equals the value of this instance; otherwise, .
// Token: 0x06000E1E RID: 3614 RVA: 0x0000BE50 File Offset: 0x0000A050
[Token(Token = "0x6000E1E")]
[Address(RVA = "0xF83F20", Offset = "0xF82F20", VA = "0x180F83F20", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns a value indicating whether this instance is equal to a specified value.
/// A 16-bit unsigned integer to compare to this instance.
///
/// if has the same value as this instance; otherwise, .
// Token: 0x06000E1F RID: 3615 RVA: 0x0000BE68 File Offset: 0x0000A068
[Token(Token = "0x6000E1F")]
[Address(RVA = "0xCBE880", Offset = "0xCBD880", VA = "0x180CBE880", Slot = "24")]
public bool Equals(ushort obj)
{
return default(bool);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// Token: 0x06000E20 RID: 3616 RVA: 0x0000BE80 File Offset: 0x0000A080
[Token(Token = "0x6000E20")]
[Address(RVA = "0x5AADB0", Offset = "0x5A9DB0", VA = "0x1805AADB0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Converts the numeric value of this instance to its equivalent string representation.
/// The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
// Token: 0x06000E21 RID: 3617 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E21")]
[Address(RVA = "0xF84760", Offset = "0xF83760", VA = "0x180F84760", Slot = "3")]
public override string ToString()
{
return null;
}
/// Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
/// An object that supplies culture-specific formatting information.
/// The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
// Token: 0x06000E22 RID: 3618 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E22")]
[Address(RVA = "0xF84790", Offset = "0xF83790", VA = "0x180F84790", Slot = "21")]
public string ToString(IFormatProvider provider)
{
return null;
}
/// Converts the numeric value of this instance to its equivalent string representation using the specified format.
/// A numeric format string.
/// The string representation of the value of this instance as specified by .
/// The parameter is invalid.
// Token: 0x06000E23 RID: 3619 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E23")]
[Address(RVA = "0xF84720", Offset = "0xF83720", VA = "0x180F84720")]
public string ToString(string format)
{
return null;
}
/// Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
/// A numeric format string.
/// An object that supplies culture-specific formatting information.
/// The string representation of the value of this instance, as specified by and .
///
/// is invalid.
// Token: 0x06000E24 RID: 3620 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E24")]
[Address(RVA = "0xF847C0", Offset = "0xF837C0", VA = "0x180F847C0", Slot = "5")]
public string ToString(string format, IFormatProvider provider)
{
return null;
}
/// Converts the string representation of a number in a specified culture-specific format to its 16-bit unsigned integer equivalent.
/// A string that represents the number to convert.
/// An object that supplies culture-specific formatting information about .
/// A 16-bit unsigned integer equivalent to the number specified in .
///
/// is .
///
/// is not in the correct format.
///
/// represents a number less than or greater than .
// Token: 0x06000E25 RID: 3621 RVA: 0x0000BE98 File Offset: 0x0000A098
[Token(Token = "0x6000E25")]
[Address(RVA = "0xF840B0", Offset = "0xF830B0", VA = "0x180F840B0")]
[CLSCompliant(false)]
public static ushort Parse(string s, IFormatProvider provider)
{
return 0;
}
/// Converts the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.
/// A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
/// A bitwise combination of enumeration values that indicate the style elements that can be present in . A typical value to specify is .
/// An object that supplies culture-specific formatting information about .
/// A 16-bit unsigned integer equivalent to the number specified in .
///
/// is .
///
/// is not a value.
/// -or-
/// is not a combination of and values.
///
/// is not in a format compliant with .
///
/// represents a number that is less than or greater than .
/// -or-
/// includes non-zero, fractional digits.
// Token: 0x06000E26 RID: 3622 RVA: 0x0000BEB0 File Offset: 0x0000A0B0
[Token(Token = "0x6000E26")]
[Address(RVA = "0xF840E0", Offset = "0xF830E0", VA = "0x180F840E0")]
[CLSCompliant(false)]
public static ushort Parse(string s, NumberStyles style, IFormatProvider provider)
{
return 0;
}
// Token: 0x06000E27 RID: 3623 RVA: 0x0000BEC8 File Offset: 0x0000A0C8
[Token(Token = "0x6000E27")]
[Address(RVA = "0xF83FB0", Offset = "0xF82FB0", VA = "0x180F83FB0")]
private static ushort Parse(string s, NumberStyles style, NumberFormatInfo info)
{
return 0;
}
/// Tries to convert the string representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
/// A string that represents the number to convert.
/// When this method returns, contains the 16-bit unsigned integer value that is equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in the correct format. , or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in will be overwritten.
///
/// if was converted successfully; otherwise, .
// Token: 0x06000E28 RID: 3624 RVA: 0x0000BEE0 File Offset: 0x0000A0E0
[Token(Token = "0x6000E28")]
[Address(RVA = "0xF84800", Offset = "0xF83800", VA = "0x180F84800")]
[CLSCompliant(false)]
public static bool TryParse(string s, out ushort result)
{
return default(bool);
}
/// Tries to convert the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.
/// A string that represents the number to convert. The string is interpreted by using the style specified by the parameter.
/// A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is .
/// An object that supplies culture-specific formatting information about .
/// When this method returns, contains the 16-bit unsigned integer value equivalent to the number contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not in a format compliant with , or represents a number less than or greater than . This parameter is passed uninitialized; any value originally supplied in will be overwritten.
///
/// if was converted successfully; otherwise, .
///
/// is not a value.
/// -or-
/// is not a combination of and values.
// Token: 0x06000E29 RID: 3625 RVA: 0x0000BEF8 File Offset: 0x0000A0F8
[Token(Token = "0x6000E29")]
[Address(RVA = "0xF848C0", Offset = "0xF838C0", VA = "0x180F848C0")]
[CLSCompliant(false)]
public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ushort result)
{
return default(bool);
}
// Token: 0x06000E2A RID: 3626 RVA: 0x0000BF10 File Offset: 0x0000A110
[Token(Token = "0x6000E2A")]
[Address(RVA = "0xF84870", Offset = "0xF83870", VA = "0x180F84870")]
private static bool TryParse(string s, NumberStyles style, NumberFormatInfo info, out ushort result)
{
return default(bool);
}
/// Returns the for value type .
/// The enumerated constant, .
// Token: 0x06000E2B RID: 3627 RVA: 0x0000BF28 File Offset: 0x0000A128
[Token(Token = "0x6000E2B")]
[Address(RVA = "0x681E00", Offset = "0x680E00", VA = "0x180681E00", Slot = "6")]
public TypeCode GetTypeCode()
{
return TypeCode.Empty;
}
/// For a description of this member, see .
/// This parameter is ignored.
///
/// if the value of the current instance is not zero; otherwise, .
// Token: 0x06000E2C RID: 3628 RVA: 0x0000BF40 File Offset: 0x0000A140
[Token(Token = "0x6000E2C")]
[Address(RVA = "0xF84130", Offset = "0xF83130", VA = "0x180F84130", Slot = "7")]
bool IConvertible.ToBoolean(IFormatProvider provider)
{
return default(bool);
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The value of the current instance, converted to a .
// Token: 0x06000E2D RID: 3629 RVA: 0x0000BF58 File Offset: 0x0000A158
[Token(Token = "0x6000E2D")]
[Address(RVA = "0xF841F0", Offset = "0xF831F0", VA = "0x180F841F0", Slot = "8")]
char IConvertible.ToChar(IFormatProvider provider)
{
return '\0';
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to an .
// Token: 0x06000E2E RID: 3630 RVA: 0x0000BF70 File Offset: 0x0000A170
[Token(Token = "0x6000E2E")]
[Address(RVA = "0xF84510", Offset = "0xF83510", VA = "0x180F84510", Slot = "9")]
sbyte IConvertible.ToSByte(IFormatProvider provider)
{
return 0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The value of the current instance, converted to a .
// Token: 0x06000E2F RID: 3631 RVA: 0x0000BF88 File Offset: 0x0000A188
[Token(Token = "0x6000E2F")]
[Address(RVA = "0xF84190", Offset = "0xF83190", VA = "0x180F84190", Slot = "10")]
byte IConvertible.ToByte(IFormatProvider provider)
{
return 0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to an .
// Token: 0x06000E30 RID: 3632 RVA: 0x0000BFA0 File Offset: 0x0000A1A0
[Token(Token = "0x6000E30")]
[Address(RVA = "0xF843F0", Offset = "0xF833F0", VA = "0x180F843F0", Slot = "11")]
short IConvertible.ToInt16(IFormatProvider provider)
{
return 0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, unchanged.
// Token: 0x06000E31 RID: 3633 RVA: 0x0000BFB8 File Offset: 0x0000A1B8
[Token(Token = "0x6000E31")]
[Address(RVA = "0x5AADB0", Offset = "0x5A9DB0", VA = "0x1805AADB0", Slot = "12")]
ushort IConvertible.ToUInt16(IFormatProvider provider)
{
return 0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The value of this instance, converted to an .
// Token: 0x06000E32 RID: 3634 RVA: 0x0000BFD0 File Offset: 0x0000A1D0
[Token(Token = "0x6000E32")]
[Address(RVA = "0xF84450", Offset = "0xF83450", VA = "0x180F84450", Slot = "13")]
int IConvertible.ToInt32(IFormatProvider provider)
{
return 0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to a .
// Token: 0x06000E33 RID: 3635 RVA: 0x0000BFE8 File Offset: 0x0000A1E8
[Token(Token = "0x6000E33")]
[Address(RVA = "0xF84660", Offset = "0xF83660", VA = "0x180F84660", Slot = "14")]
uint IConvertible.ToUInt32(IFormatProvider provider)
{
return 0U;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to an .
// Token: 0x06000E34 RID: 3636 RVA: 0x0000C000 File Offset: 0x0000A200
[Token(Token = "0x6000E34")]
[Address(RVA = "0xF844B0", Offset = "0xF834B0", VA = "0x180F844B0", Slot = "15")]
long IConvertible.ToInt64(IFormatProvider provider)
{
return 0L;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to a .
// Token: 0x06000E35 RID: 3637 RVA: 0x0000C018 File Offset: 0x0000A218
[Token(Token = "0x6000E35")]
[Address(RVA = "0xF846C0", Offset = "0xF836C0", VA = "0x180F846C0", Slot = "16")]
ulong IConvertible.ToUInt64(IFormatProvider provider)
{
return 0UL;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value pf this instance, converted to a .
// Token: 0x06000E36 RID: 3638 RVA: 0x0000C030 File Offset: 0x0000A230
[Token(Token = "0x6000E36")]
[Address(RVA = "0xF84570", Offset = "0xF83570", VA = "0x180F84570", Slot = "17")]
float IConvertible.ToSingle(IFormatProvider provider)
{
return 0f;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to a .
// Token: 0x06000E37 RID: 3639 RVA: 0x0000C048 File Offset: 0x0000A248
[Token(Token = "0x6000E37")]
[Address(RVA = "0xF84390", Offset = "0xF83390", VA = "0x180F84390", Slot = "18")]
double IConvertible.ToDouble(IFormatProvider provider)
{
return 0.0;
}
/// For a description of this member, see .
/// This parameter is ignored.
/// The current value of this instance, converted to a .
// Token: 0x06000E38 RID: 3640 RVA: 0x0000C060 File Offset: 0x0000A260
[Token(Token = "0x6000E38")]
[Address(RVA = "0xF84320", Offset = "0xF83320", VA = "0x180F84320", Slot = "19")]
decimal IConvertible.ToDecimal(IFormatProvider provider)
{
return 0m;
}
/// This conversion is not supported. Attempting to use this method throws an .
/// This parameter is ignored.
/// This conversion is not supported. No value is returned.
/// In all cases.
// Token: 0x06000E39 RID: 3641 RVA: 0x0000C078 File Offset: 0x0000A278
[Token(Token = "0x6000E39")]
[Address(RVA = "0xF84250", Offset = "0xF83250", VA = "0x180F84250", Slot = "20")]
DateTime IConvertible.ToDateTime(IFormatProvider provider)
{
return default(DateTime);
}
/// For a description of this member, see .
/// The type to which to convert this value.
/// An implementation that supplies information about the format of the returned value.
/// The current value of this instance, converted to .
// Token: 0x06000E3A RID: 3642 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E3A")]
[Address(RVA = "0xF845D0", Offset = "0xF835D0", VA = "0x180F845D0", Slot = "22")]
object IConvertible.ToType(Type type, IFormatProvider provider)
{
return null;
}
// Token: 0x0400057A RID: 1402
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x400057A")]
private ushort m_value;
/// Represents the largest possible value of . This field is constant.
// Token: 0x0400057B RID: 1403
[Token(Token = "0x400057B")]
public const ushort MaxValue = 65535;
/// Represents the smallest possible value of . This field is constant.
// Token: 0x0400057C RID: 1404
[Token(Token = "0x400057C")]
public const ushort MinValue = 0;
}
}