using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Globalization { /// Determines the styles permitted in numeric string arguments that are passed to the and methods of the integral and floating-point numeric types. // Token: 0x020002F6 RID: 758 [Token(Token = "0x20002F6")] [Flags] [ComVisible(true)] [Serializable] public enum NumberStyles { /// Indicates that no style elements, such as leading or trailing white space, thousands separators, or a decimal separator, can be present in the parsed string. The string to be parsed must consist of integral decimal digits only. // Token: 0x04000FF0 RID: 4080 [Token(Token = "0x4000FF0")] None = 0, /// Indicates that leading white-space characters can be present in the parsed string. Valid white-space characters have the Unicode values U+0009, U+000A, U+000B, U+000C, U+000D, and U+0020. Note that this is a subset of the characters for which the method returns . // Token: 0x04000FF1 RID: 4081 [Token(Token = "0x4000FF1")] AllowLeadingWhite = 1, /// Indicates that trailing white-space characters can be present in the parsed string. Valid white-space characters have the Unicode values U+0009, U+000A, U+000B, U+000C, U+000D, and U+0020. Note that this is a subset of the characters for which the method returns . // Token: 0x04000FF2 RID: 4082 [Token(Token = "0x4000FF2")] AllowTrailingWhite = 2, /// Indicates that the numeric string can have a leading sign. Valid leading sign characters are determined by the and properties. // Token: 0x04000FF3 RID: 4083 [Token(Token = "0x4000FF3")] AllowLeadingSign = 4, /// Indicates that the numeric string can have a trailing sign. Valid trailing sign characters are determined by the and properties. // Token: 0x04000FF4 RID: 4084 [Token(Token = "0x4000FF4")] AllowTrailingSign = 8, /// Indicates that the numeric string can have one pair of parentheses enclosing the number. The parentheses indicate that the string to be parsed represents a negative number. // Token: 0x04000FF5 RID: 4085 [Token(Token = "0x4000FF5")] AllowParentheses = 16, /// Indicates that the numeric string can have a decimal point. If the value includes the flag and the parsed string includes a currency symbol, the decimal separator character is determined by the property. Otherwise, the decimal separator character is determined by the property. // Token: 0x04000FF6 RID: 4086 [Token(Token = "0x4000FF6")] AllowDecimalPoint = 32, /// Indicates that the numeric string can have group separators, such as symbols that separate hundreds from thousands. If the value includes the flag and the string to be parsed includes a currency symbol, the valid group separator character is determined by the property, and the number of digits in each group is determined by the property. Otherwise, the valid group separator character is determined by the property, and the number of digits in each group is determined by the property. // Token: 0x04000FF7 RID: 4087 [Token(Token = "0x4000FF7")] AllowThousands = 64, /// Indicates that the numeric string can be in exponential notation. The flag allows the parsed string to contain an exponent that begins with the "E" or "e" character and that is followed by an optional positive or negative sign and an integer. In other words, it successfully parses strings in the form nnnExx, nnnE+xx, and nnnE-xx. It does not allow a decimal separator or sign in the significand or mantissa; to allow these elements in the string to be parsed, use the and flags, or use a composite style that includes these individual flags. // Token: 0x04000FF8 RID: 4088 [Token(Token = "0x4000FF8")] AllowExponent = 128, /// Indicates that the numeric string can contain a currency symbol. Valid currency symbols are determined by the property. // Token: 0x04000FF9 RID: 4089 [Token(Token = "0x4000FF9")] AllowCurrencySymbol = 256, /// Indicates that the numeric string represents a hexadecimal value. Valid hexadecimal values include the numeric digits 0-9 and the hexadecimal digits A-F and a-f. Strings that are parsed using this style cannot be prefixed with "0x" or "&h". A string that is parsed with the style will always be interpreted as a hexadecimal value. The only flags that can be combined with are and . The enumeration includes a composite style, , that consists of these three flags. // Token: 0x04000FFA RID: 4090 [Token(Token = "0x4000FFA")] AllowHexSpecifier = 512, /// Indicates that the , , and styles are used. This is a composite number style. // Token: 0x04000FFB RID: 4091 [Token(Token = "0x4000FFB")] Integer = 7, /// Indicates that the , , and styles are used. This is a composite number style. // Token: 0x04000FFC RID: 4092 [Token(Token = "0x4000FFC")] HexNumber = 515, /// Indicates that the , , , , , and styles are used. This is a composite number style. // Token: 0x04000FFD RID: 4093 [Token(Token = "0x4000FFD")] Number = 111, /// Indicates that the , , , , and styles are used. This is a composite number style. // Token: 0x04000FFE RID: 4094 [Token(Token = "0x4000FFE")] Float = 167, /// Indicates that all styles except and are used. This is a composite number style. // Token: 0x04000FFF RID: 4095 [Token(Token = "0x4000FFF")] Currency = 383, /// Indicates that all styles except are used. This is a composite number style. // Token: 0x04001000 RID: 4096 [Token(Token = "0x4001000")] Any = 511 } }