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

444 lines
24 KiB
C#

using System;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a 16-bit unsigned integer.</summary>
// Token: 0x02000159 RID: 345
[Token(Token = "0x2000159")]
[ComVisible(true)]
[CLSCompliant(false)]
[Serializable]
public struct UInt16 : IComparable, IFormattable, IConvertible, IComparable<ushort>, IEquatable<ushort>
{
/// <summary>Compares this instance to a specified object and returns an indication of their relative values.</summary>
/// <param name="value">An object to compare, or <see langword="null" />.</param>
/// <returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
/// Return Value
///
/// Description
///
/// Less than zero
///
/// This instance is less than <paramref name="value" />.
///
/// Zero
///
/// This instance is equal to <paramref name="value" />.
///
/// Greater than zero
///
/// This instance is greater than <paramref name="value" />.
///
/// -or-
///
/// <paramref name="value" /> is <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is not a <see cref="T:System.UInt16" />.</exception>
// 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;
}
/// <summary>Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values.</summary>
/// <param name="value">An unsigned integer to compare.</param>
/// <returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
/// Return Value
///
/// Description
///
/// Less than zero
///
/// This instance is less than <paramref name="value" />.
///
/// Zero
///
/// This instance is equal to <paramref name="value" />.
///
/// Greater than zero
///
/// This instance is greater than <paramref name="value" />.</returns>
// 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;
}
/// <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 an instance of <see cref="T:System.UInt16" /> and equals the value of this instance; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns a value indicating whether this instance is equal to a specified <see cref="T:System.UInt16" /> value.</summary>
/// <param name="obj">A 16-bit unsigned integer 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: 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
}
/// <summary>Converts the numeric value of this instance to its equivalent string representation.</summary>
/// <returns>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.</returns>
// 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;
}
/// <summary>Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.</summary>
/// <param name="provider">An object that supplies culture-specific formatting information.</param>
/// <returns>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.</returns>
// 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;
}
/// <summary>Converts the numeric value of this instance to its equivalent string representation using the specified format.</summary>
/// <param name="format">A numeric format string.</param>
/// <returns>The string representation of the value of this instance as specified by <paramref name="format" />.</returns>
/// <exception cref="T:System.FormatException">The <paramref name="format" /> parameter is invalid.</exception>
// 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;
}
/// <summary>Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.</summary>
/// <param name="format">A numeric format string.</param>
/// <param name="provider">An object that supplies culture-specific formatting information.</param>
/// <returns>The string representation of the value of this instance, as specified by <paramref name="format" /> and <paramref name="provider" />.</returns>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.</exception>
// 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;
}
/// <summary>Converts the string representation of a number in a specified culture-specific format to its 16-bit unsigned integer equivalent.</summary>
/// <param name="s">A string that represents the number to convert.</param>
/// <param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />.</param>
/// <returns>A 16-bit unsigned integer equivalent to the number specified in <paramref name="s" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="s" /> is not in the correct format.</exception>
/// <exception cref="T:System.OverflowException">
/// <paramref name="s" /> represents a number less than <see cref="F:System.UInt16.MinValue" /> or greater than <see cref="F:System.UInt16.MaxValue" />.</exception>
// 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;
}
/// <summary>Converts the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent.</summary>
/// <param name="s">A string that represents the number to convert. The string is interpreted by using the style specified by the <paramref name="style" /> parameter.</param>
/// <param name="style">A bitwise combination of enumeration values that indicate the style elements that can be present in <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param>
/// <param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />.</param>
/// <returns>A 16-bit unsigned integer equivalent to the number specified in <paramref name="s" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="style" /> is not a <see cref="T:System.Globalization.NumberStyles" /> value.
/// -or-
/// <paramref name="style" /> is not a combination of <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> and <see cref="F:System.Globalization.NumberStyles.HexNumber" /> values.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="s" /> is not in a format compliant with <paramref name="style" />.</exception>
/// <exception cref="T:System.OverflowException">
/// <paramref name="s" /> represents a number that is less than <see cref="F:System.UInt16.MinValue" /> or greater than <see cref="F:System.UInt16.MaxValue" />.
/// -or-
/// <paramref name="s" /> includes non-zero, fractional digits.</exception>
// 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;
}
/// <summary>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.</summary>
/// <param name="s">A string that represents the number to convert.</param>
/// <param name="result">When this method returns, contains the 16-bit unsigned integer value that is equivalent to the number contained in <paramref name="s" />, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the <paramref name="s" /> parameter is <see langword="null" /> or <see cref="F:System.String.Empty" />, is not in the correct format. , or represents a number less than <see cref="F:System.UInt16.MinValue" /> or greater than <see cref="F:System.UInt16.MaxValue" />. This parameter is passed uninitialized; any value originally supplied in <paramref name="result" /> will be overwritten.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="s" /> was converted successfully; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>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.</summary>
/// <param name="s">A string that represents the number to convert. The string is interpreted by using the style specified by the <paramref name="style" /> parameter.</param>
/// <param name="style">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="s" />. A typical value to specify is <see cref="F:System.Globalization.NumberStyles.Integer" />.</param>
/// <param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />.</param>
/// <param name="result">When this method returns, contains the 16-bit unsigned integer value equivalent to the number contained in <paramref name="s" />, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the <paramref name="s" /> parameter is <see langword="null" /> or <see cref="F:System.String.Empty" />, is not in a format compliant with <paramref name="style" />, or represents a number less than <see cref="F:System.UInt16.MinValue" /> or greater than <see cref="F:System.UInt16.MaxValue" />. This parameter is passed uninitialized; any value originally supplied in <paramref name="result" /> will be overwritten.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="s" /> was converted successfully; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="style" /> is not a <see cref="T:System.Globalization.NumberStyles" /> value.
/// -or-
/// <paramref name="style" /> is not a combination of <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> and <see cref="F:System.Globalization.NumberStyles.HexNumber" /> values.</exception>
// 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);
}
/// <summary>Returns the <see cref="T:System.TypeCode" /> for value type <see cref="T:System.UInt16" />.</summary>
/// <returns>The enumerated constant, <see cref="F:System.TypeCode.UInt16" />.</returns>
// 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;
}
/// <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" /> if the value of the current instance is not zero; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToChar(System.IFormatProvider)" />.</summary>
/// <param name="provider">This parameter is ignored.</param>
/// <returns>The value of the current instance, converted to a <see cref="T:System.Char" />.</returns>
// 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';
}
/// <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>The current value of this instance, converted to an <see cref="T:System.SByte" />.</returns>
// 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;
}
/// <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>The value of the current instance, converted to a <see cref="T:System.Byte" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to an <see cref="T:System.Int16" />.</returns>
// 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;
}
/// <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>The current value of this instance, unchanged.</returns>
// 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;
}
/// <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>The value of this instance, converted to an <see cref="T:System.Int32" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to a <see cref="T:System.UInt32" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to an <see cref="T:System.Int64" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to a <see cref="T:System.UInt64" />.</returns>
// 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;
}
/// <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>The current value pf this instance, converted to a <see cref="T:System.Single" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to a <see cref="T:System.Double" />.</returns>
// 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;
}
/// <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>The current value of this instance, converted to a <see cref="T:System.Decimal" />.</returns>
// 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;
}
/// <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">In all cases.</exception>
// 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);
}
/// <summary>For a description of this member, see <see cref="M:System.IConvertible.ToType(System.Type,System.IFormatProvider)" />.</summary>
/// <param name="type">The type to which to convert this <see cref="T:System.UInt16" /> value.</param>
/// <param name="provider">An <see cref="T:System.IFormatProvider" /> implementation that supplies information about the format of the returned value.</param>
/// <returns>The current value of this instance, converted to <paramref name="type" />.</returns>
// 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;
/// <summary>Represents the largest possible value of <see cref="T:System.UInt16" />. This field is constant.</summary>
// Token: 0x0400057B RID: 1403
[Token(Token = "0x400057B")]
public const ushort MaxValue = 65535;
/// <summary>Represents the smallest possible value of <see cref="T:System.UInt16" />. This field is constant.</summary>
// Token: 0x0400057C RID: 1404
[Token(Token = "0x400057C")]
public const ushort MinValue = 0;
}
}