using System; using System.Globalization; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System { /// Represents a single-precision floating-point number. // Token: 0x02000137 RID: 311 [Token(Token = "0x2000137")] [ComVisible(true)] [Serializable] public struct Single : IComparable, IFormattable, IConvertible, IComparable, IEquatable { /// Returns a value indicating whether the specified number evaluates to negative or positive infinity. /// A single-precision floating-point number. /// /// if evaluates to or ; otherwise, . // Token: 0x06000B92 RID: 2962 RVA: 0x0000A080 File Offset: 0x00008280 [Token(Token = "0x6000B92")] [Address(RVA = "0x2C44680", Offset = "0x2C43480", VA = "0x182C44680")] public static bool IsInfinity(float f) { return default(bool); } /// Returns a value indicating whether the specified number evaluates to positive infinity. /// A single-precision floating-point number. /// /// if evaluates to ; otherwise, . // Token: 0x06000B93 RID: 2963 RVA: 0x0000A098 File Offset: 0x00008298 [Token(Token = "0x6000B93")] [Address(RVA = "0x2C446E0", Offset = "0x2C434E0", VA = "0x182C446E0")] public static bool IsPositiveInfinity(float f) { return default(bool); } /// Returns a value indicating whether the specified number evaluates to negative infinity. /// A single-precision floating-point number. /// /// if evaluates to ; otherwise, . // Token: 0x06000B94 RID: 2964 RVA: 0x0000A0B0 File Offset: 0x000082B0 [Token(Token = "0x6000B94")] [Address(RVA = "0x2C446C0", Offset = "0x2C434C0", VA = "0x182C446C0")] public static bool IsNegativeInfinity(float f) { return default(bool); } /// Returns a value that indicates whether the specified value is not a number (). /// A single-precision floating-point number. /// /// if evaluates to not a number (); otherwise, . // Token: 0x06000B95 RID: 2965 RVA: 0x0000A0C8 File Offset: 0x000082C8 [Token(Token = "0x6000B95")] [Address(RVA = "0x2C446A0", Offset = "0x2C434A0", VA = "0x182C446A0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] public static bool IsNaN(float f) { return default(bool); } /// Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object. /// 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 . /// /// -or- /// /// This instance is not a number () and is a number. /// /// Zero /// /// This instance is equal to . /// /// -or- /// /// This instance and value are both not a number (), , or . /// /// Greater than zero /// /// This instance is greater than . /// /// -or- /// /// This instance is a number and is not a number (). /// /// -or- /// /// is . /// /// is not a . // Token: 0x06000B96 RID: 2966 RVA: 0x0000A0E0 File Offset: 0x000082E0 [Token(Token = "0x6000B96")] [Address(RVA = "0x2C443F0", Offset = "0x2C431F0", VA = "0x182C443F0", Slot = "4")] public int CompareTo(object value) { return 0; } /// Compares this instance to a specified single-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified single-precision floating-point number. /// A single-precision floating-point number to compare. /// A signed number indicating the relative values of this instance and . /// Return Value /// /// Description /// /// Less than zero /// /// This instance is less than . /// /// -or- /// /// This instance is not a number () and is a number. /// /// Zero /// /// This instance is equal to . /// /// -or- /// /// Both this instance and are not a number (), , or . /// /// Greater than zero /// /// This instance is greater than . /// /// -or- /// /// This instance is a number and is not a number (). // Token: 0x06000B97 RID: 2967 RVA: 0x0000A0F8 File Offset: 0x000082F8 [Token(Token = "0x6000B97")] [Address(RVA = "0x2C44510", Offset = "0x2C43310", VA = "0x182C44510", Slot = "23")] public int CompareTo(float value) { return 0; } /// Returns a value indicating whether this instance is equal to a specified object. /// An object to compare with this instance. /// /// if is an instance of and equals the value of this instance; otherwise, . // Token: 0x06000B98 RID: 2968 RVA: 0x0000A110 File Offset: 0x00008310 [Token(Token = "0x6000B98")] [Address(RVA = "0x2C445A0", Offset = "0x2C433A0", VA = "0x182C445A0", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns a value indicating whether this instance and a specified object represent the same value. /// An object to compare with this instance. /// /// if is equal to this instance; otherwise, . // Token: 0x06000B99 RID: 2969 RVA: 0x0000A128 File Offset: 0x00008328 [Token(Token = "0x6000B99")] [Address(RVA = "0x2C44560", Offset = "0x2C43360", VA = "0x182C44560", Slot = "24")] public bool Equals(float obj) { return default(bool); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x06000B9A RID: 2970 RVA: 0x0000A140 File Offset: 0x00008340 [Token(Token = "0x6000B9A")] [Address(RVA = "0x2C44660", Offset = "0x2C43460", VA = "0x182C44660", 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. // Token: 0x06000B9B RID: 2971 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6000B9B")] [Address(RVA = "0x2C44E70", Offset = "0x2C43C70", VA = "0x182C44E70", 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 as specified by . // Token: 0x06000B9C RID: 2972 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6000B9C")] [Address(RVA = "0x2C44EA0", Offset = "0x2C43CA0", VA = "0x182C44EA0", 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 . /// /// is invalid. // Token: 0x06000B9D RID: 2973 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6000B9D")] [Address(RVA = "0x2C44E30", Offset = "0x2C43C30", VA = "0x182C44E30")] 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 . // Token: 0x06000B9E RID: 2974 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6000B9E")] [Address(RVA = "0x2C44EE0", Offset = "0x2C43CE0", VA = "0x182C44EE0", Slot = "5")] public string ToString(string format, IFormatProvider provider) { return null; } /// Converts the string representation of a number to its single-precision floating-point number equivalent. /// A string that contains a number to convert. /// A single-precision floating-point number equivalent to the numeric value or symbol specified in . /// /// is . /// /// does not represent a number in a valid format. /// /// represents a number less than or greater than . // Token: 0x06000B9F RID: 2975 RVA: 0x0000A158 File Offset: 0x00008358 [Token(Token = "0x6000B9F")] [Address(RVA = "0x2C44730", Offset = "0x2C43530", VA = "0x182C44730")] public static float Parse(string s) { return 0f; } /// Converts the string representation of a number in a specified culture-specific format to its single-precision floating-point number equivalent. /// A string that contains a number to convert. /// An object that supplies culture-specific formatting information about . /// A single-precision floating-point number equivalent to the numeric value or symbol specified in . /// /// is . /// /// does not represent a number in a valid format. /// /// represents a number less than or greater than . // Token: 0x06000BA0 RID: 2976 RVA: 0x0000A170 File Offset: 0x00008370 [Token(Token = "0x6000BA0")] [Address(RVA = "0x2C44700", Offset = "0x2C43500", VA = "0x182C44700")] public static float Parse(string s, IFormatProvider provider) { return 0f; } /// Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent. /// A string that contains a number to convert. /// A bitwise combination of enumeration values that indicates the style elements that can be present in . A typical value to specify is combined with . /// An object that supplies culture-specific formatting information about . /// A single-precision floating-point number equivalent to the numeric value or symbol specified in . /// /// is . /// /// does not represent a numeric value. /// /// is not a value. /// -or- /// is the value. /// /// represents a number that is less than or greater than . // Token: 0x06000BA1 RID: 2977 RVA: 0x0000A188 File Offset: 0x00008388 [Token(Token = "0x6000BA1")] [Address(RVA = "0x2C44760", Offset = "0x2C43560", VA = "0x182C44760")] public static float Parse(string s, NumberStyles style, IFormatProvider provider) { return 0f; } // Token: 0x06000BA2 RID: 2978 RVA: 0x0000A1A0 File Offset: 0x000083A0 [Token(Token = "0x6000BA2")] [Address(RVA = "0x2C447B0", Offset = "0x2C435B0", VA = "0x182C447B0")] private static float Parse(string s, NumberStyles style, NumberFormatInfo info) { return 0f; } /// Converts the string representation of a number to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed. /// A string representing a number to convert. /// When this method returns, contains single-precision floating-point number equivalent to the numeric value or symbol contained in , if the conversion succeeded, or zero if the conversion failed. The conversion fails if the parameter is or , is not a number in a valid 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: 0x06000BA3 RID: 2979 RVA: 0x0000A1B8 File Offset: 0x000083B8 [Token(Token = "0x6000BA3")] [Address(RVA = "0x2C45080", Offset = "0x2C43E80", VA = "0x182C45080")] public static bool TryParse(string s, out float result) { return default(bool); } /// Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed. /// A string representing a number to convert. /// A bitwise combination of enumeration values that indicates the permitted format of . A typical value to specify is combined with . /// An object that supplies culture-specific formatting information about . /// When this method returns, contains the single-precision floating-point number equivalent to the numeric value or symbol 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 , represents a number less than or greater than , or if is not a valid combination of enumerated constants. This parameter is passed uninitialized; any value originally supplied in will be overwritten. /// /// if was converted successfully; otherwise, . /// /// is not a value. /// -or- /// is the value. // Token: 0x06000BA4 RID: 2980 RVA: 0x0000A1D0 File Offset: 0x000083D0 [Token(Token = "0x6000BA4")] [Address(RVA = "0x2C45020", Offset = "0x2C43E20", VA = "0x182C45020")] public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out float result) { return default(bool); } // Token: 0x06000BA5 RID: 2981 RVA: 0x0000A1E8 File Offset: 0x000083E8 [Token(Token = "0x6000BA5")] [Address(RVA = "0x2C44F20", Offset = "0x2C43D20", VA = "0x182C44F20")] private static bool TryParse(string s, NumberStyles style, NumberFormatInfo info, out float result) { return default(bool); } /// Returns the for value type . /// The enumerated constant, . // Token: 0x06000BA6 RID: 2982 RVA: 0x0000A200 File Offset: 0x00008400 [Token(Token = "0x6000BA6")] [Address(RVA = "0x4B4BA0", Offset = "0x4B39A0", VA = "0x1804B4BA0", 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: 0x06000BA7 RID: 2983 RVA: 0x0000A218 File Offset: 0x00008418 [Token(Token = "0x6000BA7")] [Address(RVA = "0x2C447C0", Offset = "0x2C435C0", VA = "0x182C447C0", Slot = "7")] bool IConvertible.ToBoolean(IFormatProvider provider) { return default(bool); } /// 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: 0x06000BA8 RID: 2984 RVA: 0x0000A230 File Offset: 0x00008430 [Token(Token = "0x6000BA8")] [Address(RVA = "0x2C44880", Offset = "0x2C43680", VA = "0x182C44880", Slot = "8")] char IConvertible.ToChar(IFormatProvider provider) { return '\0'; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to an . // Token: 0x06000BA9 RID: 2985 RVA: 0x0000A248 File Offset: 0x00008448 [Token(Token = "0x6000BA9")] [Address(RVA = "0x2C44C20", Offset = "0x2C43A20", VA = "0x182C44C20", 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: 0x06000BAA RID: 2986 RVA: 0x0000A260 File Offset: 0x00008460 [Token(Token = "0x6000BAA")] [Address(RVA = "0x2C44820", Offset = "0x2C43620", VA = "0x182C44820", Slot = "10")] byte IConvertible.ToByte(IFormatProvider provider) { return 0; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to an . // Token: 0x06000BAB RID: 2987 RVA: 0x0000A278 File Offset: 0x00008478 [Token(Token = "0x6000BAB")] [Address(RVA = "0x2C44B00", Offset = "0x2C43900", VA = "0x182C44B00", Slot = "11")] short IConvertible.ToInt16(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: 0x06000BAC RID: 2988 RVA: 0x0000A290 File Offset: 0x00008490 [Token(Token = "0x6000BAC")] [Address(RVA = "0x2C44D10", Offset = "0x2C43B10", VA = "0x182C44D10", Slot = "12")] ushort IConvertible.ToUInt16(IFormatProvider provider) { return 0; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to an . // Token: 0x06000BAD RID: 2989 RVA: 0x0000A2A8 File Offset: 0x000084A8 [Token(Token = "0x6000BAD")] [Address(RVA = "0x2C44B60", Offset = "0x2C43960", VA = "0x182C44B60", Slot = "13")] int IConvertible.ToInt32(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: 0x06000BAE RID: 2990 RVA: 0x0000A2C0 File Offset: 0x000084C0 [Token(Token = "0x6000BAE")] [Address(RVA = "0x2C44D70", Offset = "0x2C43B70", VA = "0x182C44D70", Slot = "14")] uint IConvertible.ToUInt32(IFormatProvider provider) { return 0U; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to an . // Token: 0x06000BAF RID: 2991 RVA: 0x0000A2D8 File Offset: 0x000084D8 [Token(Token = "0x6000BAF")] [Address(RVA = "0x2C44BC0", Offset = "0x2C439C0", VA = "0x182C44BC0", Slot = "15")] long IConvertible.ToInt64(IFormatProvider provider) { return 0L; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to a . // Token: 0x06000BB0 RID: 2992 RVA: 0x0000A2F0 File Offset: 0x000084F0 [Token(Token = "0x6000BB0")] [Address(RVA = "0x2C44DD0", Offset = "0x2C43BD0", VA = "0x182C44DD0", Slot = "16")] ulong IConvertible.ToUInt64(IFormatProvider provider) { return 0UL; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, unchanged. // Token: 0x06000BB1 RID: 2993 RVA: 0x0000A308 File Offset: 0x00008508 [Token(Token = "0x6000BB1")] [Address(RVA = "0x16D4480", Offset = "0x16D3280", VA = "0x1816D4480", Slot = "17")] float IConvertible.ToSingle(IFormatProvider provider) { return 0f; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to a . // Token: 0x06000BB2 RID: 2994 RVA: 0x0000A320 File Offset: 0x00008520 [Token(Token = "0x6000BB2")] [Address(RVA = "0x2C44AA0", Offset = "0x2C438A0", VA = "0x182C44AA0", Slot = "18")] double IConvertible.ToDouble(IFormatProvider provider) { return 0.0; } /// For a description of this member, see . /// This parameter is ignored. /// The value of the current instance, converted to a . // Token: 0x06000BB3 RID: 2995 RVA: 0x0000A338 File Offset: 0x00008538 [Token(Token = "0x6000BB3")] [Address(RVA = "0x2C44A20", Offset = "0x2C43820", VA = "0x182C44A20", 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: 0x06000BB4 RID: 2996 RVA: 0x0000A350 File Offset: 0x00008550 [Token(Token = "0x6000BB4")] [Address(RVA = "0x2C44950", Offset = "0x2C43750", VA = "0x182C44950", 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 object that supplies information about the format of the returned value. /// The value of the current instance, converted to . // Token: 0x06000BB5 RID: 2997 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6000BB5")] [Address(RVA = "0x2C44C80", Offset = "0x2C43A80", VA = "0x182C44C80", Slot = "22")] object IConvertible.ToType(Type type, IFormatProvider provider) { return null; } // Token: 0x040004AD RID: 1197 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40004AD")] internal float m_value; /// Represents the smallest possible value of . This field is constant. // Token: 0x040004AE RID: 1198 [Token(Token = "0x40004AE")] public const float MinValue = -3.4028235E+38f; /// Represents the smallest positive value that is greater than zero. This field is constant. // Token: 0x040004AF RID: 1199 [Token(Token = "0x40004AF")] public const float Epsilon = 1E-45f; /// Represents the largest possible value of . This field is constant. // Token: 0x040004B0 RID: 1200 [Token(Token = "0x40004B0")] public const float MaxValue = 3.4028235E+38f; /// Represents positive infinity. This field is constant. // Token: 0x040004B1 RID: 1201 [Token(Token = "0x40004B1")] public const float PositiveInfinity = float.PositiveInfinity; /// Represents negative infinity. This field is constant. // Token: 0x040004B2 RID: 1202 [Token(Token = "0x40004B2")] public const float NegativeInfinity = float.NegativeInfinity; /// Represents not a number (). This field is constant. // Token: 0x040004B3 RID: 1203 [Token(Token = "0x40004B3")] public const float NaN = float.NaN; } }