Files
2026-04-10 22:50:51 +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: 0x02000152 RID: 338
[Token(Token = "0x2000152")]
[CLSCompliant(false)]
[ComVisible(true)]
[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: 0x06000DE8 RID: 3560 RVA: 0x0000BB38 File Offset: 0x00009D38
[Token(Token = "0x6000DE8")]
[Address(RVA = "0x32858D0", Offset = "0x32846D0", VA = "0x1832858D0", 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: 0x06000DE9 RID: 3561 RVA: 0x0000BB50 File Offset: 0x00009D50
[Token(Token = "0x6000DE9")]
[Address(RVA = "0x26CB700", Offset = "0x26CA500", VA = "0x1826CB700", 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: 0x06000DEA RID: 3562 RVA: 0x0000BB68 File Offset: 0x00009D68
[Token(Token = "0x6000DEA")]
[Address(RVA = "0x32859A0", Offset = "0x32847A0", VA = "0x1832859A0", 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: 0x06000DEB RID: 3563 RVA: 0x0000BB80 File Offset: 0x00009D80
[Token(Token = "0x6000DEB")]
[Address(RVA = "0x164F420", Offset = "0x164E220", VA = "0x18164F420", 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: 0x06000DEC RID: 3564 RVA: 0x0000BB98 File Offset: 0x00009D98
[Token(Token = "0x6000DEC")]
[Address(RVA = "0x1AA8150", Offset = "0x1AA6F50", VA = "0x181AA8150", 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: 0x06000DED RID: 3565 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000DED")]
[Address(RVA = "0x32861E0", Offset = "0x3284FE0", VA = "0x1832861E0", 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: 0x06000DEE RID: 3566 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000DEE")]
[Address(RVA = "0x3286210", Offset = "0x3285010", VA = "0x183286210", 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: 0x06000DEF RID: 3567 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000DEF")]
[Address(RVA = "0x32861A0", Offset = "0x3284FA0", VA = "0x1832861A0")]
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: 0x06000DF0 RID: 3568 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000DF0")]
[Address(RVA = "0x3286240", Offset = "0x3285040", VA = "0x183286240", 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: 0x06000DF1 RID: 3569 RVA: 0x0000BBB0 File Offset: 0x00009DB0
[Token(Token = "0x6000DF1")]
[Address(RVA = "0x3285B30", Offset = "0x3284930", VA = "0x183285B30")]
[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: 0x06000DF2 RID: 3570 RVA: 0x0000BBC8 File Offset: 0x00009DC8
[Token(Token = "0x6000DF2")]
[Address(RVA = "0x3285B60", Offset = "0x3284960", VA = "0x183285B60")]
[CLSCompliant(false)]
public static ushort Parse(string s, NumberStyles style, IFormatProvider provider)
{
return 0;
}
// Token: 0x06000DF3 RID: 3571 RVA: 0x0000BBE0 File Offset: 0x00009DE0
[Token(Token = "0x6000DF3")]
[Address(RVA = "0x3285A30", Offset = "0x3284830", VA = "0x183285A30")]
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: 0x06000DF4 RID: 3572 RVA: 0x0000BBF8 File Offset: 0x00009DF8
[Token(Token = "0x6000DF4")]
[Address(RVA = "0x3286280", Offset = "0x3285080", VA = "0x183286280")]
[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: 0x06000DF5 RID: 3573 RVA: 0x0000BC10 File Offset: 0x00009E10
[Token(Token = "0x6000DF5")]
[Address(RVA = "0x3286340", Offset = "0x3285140", VA = "0x183286340")]
[CLSCompliant(false)]
public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ushort result)
{
return default(bool);
}
// Token: 0x06000DF6 RID: 3574 RVA: 0x0000BC28 File Offset: 0x00009E28
[Token(Token = "0x6000DF6")]
[Address(RVA = "0x32862F0", Offset = "0x32850F0", VA = "0x1832862F0")]
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: 0x06000DF7 RID: 3575 RVA: 0x0000BC40 File Offset: 0x00009E40
[Token(Token = "0x6000DF7")]
[Address(RVA = "0x4101D0", Offset = "0x40EFD0", VA = "0x1804101D0", 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: 0x06000DF8 RID: 3576 RVA: 0x0000BC58 File Offset: 0x00009E58
[Token(Token = "0x6000DF8")]
[Address(RVA = "0x3285BB0", Offset = "0x32849B0", VA = "0x183285BB0", 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: 0x06000DF9 RID: 3577 RVA: 0x0000BC70 File Offset: 0x00009E70
[Token(Token = "0x6000DF9")]
[Address(RVA = "0x3285C70", Offset = "0x3284A70", VA = "0x183285C70", 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: 0x06000DFA RID: 3578 RVA: 0x0000BC88 File Offset: 0x00009E88
[Token(Token = "0x6000DFA")]
[Address(RVA = "0x3285F90", Offset = "0x3284D90", VA = "0x183285F90", 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: 0x06000DFB RID: 3579 RVA: 0x0000BCA0 File Offset: 0x00009EA0
[Token(Token = "0x6000DFB")]
[Address(RVA = "0x3285C10", Offset = "0x3284A10", VA = "0x183285C10", 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: 0x06000DFC RID: 3580 RVA: 0x0000BCB8 File Offset: 0x00009EB8
[Token(Token = "0x6000DFC")]
[Address(RVA = "0x3285E70", Offset = "0x3284C70", VA = "0x183285E70", 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: 0x06000DFD RID: 3581 RVA: 0x0000BCD0 File Offset: 0x00009ED0
[Token(Token = "0x6000DFD")]
[Address(RVA = "0x1AA8150", Offset = "0x1AA6F50", VA = "0x181AA8150", 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: 0x06000DFE RID: 3582 RVA: 0x0000BCE8 File Offset: 0x00009EE8
[Token(Token = "0x6000DFE")]
[Address(RVA = "0x3285ED0", Offset = "0x3284CD0", VA = "0x183285ED0", 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: 0x06000DFF RID: 3583 RVA: 0x0000BD00 File Offset: 0x00009F00
[Token(Token = "0x6000DFF")]
[Address(RVA = "0x32860E0", Offset = "0x3284EE0", VA = "0x1832860E0", 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: 0x06000E00 RID: 3584 RVA: 0x0000BD18 File Offset: 0x00009F18
[Token(Token = "0x6000E00")]
[Address(RVA = "0x3285F30", Offset = "0x3284D30", VA = "0x183285F30", 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: 0x06000E01 RID: 3585 RVA: 0x0000BD30 File Offset: 0x00009F30
[Token(Token = "0x6000E01")]
[Address(RVA = "0x3286140", Offset = "0x3284F40", VA = "0x183286140", 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: 0x06000E02 RID: 3586 RVA: 0x0000BD48 File Offset: 0x00009F48
[Token(Token = "0x6000E02")]
[Address(RVA = "0x3285FF0", Offset = "0x3284DF0", VA = "0x183285FF0", 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: 0x06000E03 RID: 3587 RVA: 0x0000BD60 File Offset: 0x00009F60
[Token(Token = "0x6000E03")]
[Address(RVA = "0x3285E10", Offset = "0x3284C10", VA = "0x183285E10", 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: 0x06000E04 RID: 3588 RVA: 0x0000BD78 File Offset: 0x00009F78
[Token(Token = "0x6000E04")]
[Address(RVA = "0x3285DA0", Offset = "0x3284BA0", VA = "0x183285DA0", 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: 0x06000E05 RID: 3589 RVA: 0x0000BD90 File Offset: 0x00009F90
[Token(Token = "0x6000E05")]
[Address(RVA = "0x3285CD0", Offset = "0x3284AD0", VA = "0x183285CD0", 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: 0x06000E06 RID: 3590 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000E06")]
[Address(RVA = "0x3286050", Offset = "0x3284E50", VA = "0x183286050", Slot = "22")]
object IConvertible.ToType(Type type, IFormatProvider provider)
{
return null;
}
// Token: 0x04000570 RID: 1392
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000570")]
private ushort m_value;
/// <summary>Represents the largest possible value of <see cref="T:System.UInt16" />. This field is constant.</summary>
// Token: 0x04000571 RID: 1393
[Token(Token = "0x4000571")]
public const ushort MaxValue = 65535;
/// <summary>Represents the smallest possible value of <see cref="T:System.UInt16" />. This field is constant.</summary>
// Token: 0x04000572 RID: 1394
[Token(Token = "0x4000572")]
public const ushort MinValue = 0;
}
}