diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2017-04-13 14:17:19 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2017-04-13 14:17:19 +0900 |
commit | a56e30c8d33048216567753d9d3fefc2152af8ac (patch) | |
tree | 7e5d979695fc4a431740982eb1cfecc2898b23a5 /src/mscorlib/src/System/Globalization/NumberStyles.cs | |
parent | 4b11dc566a5bbfa1378d6266525c281b028abcc8 (diff) | |
download | coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.gz coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.bz2 coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.zip |
Imported Upstream version 2.0.0.11353upstream/2.0.0.11353
Diffstat (limited to 'src/mscorlib/src/System/Globalization/NumberStyles.cs')
-rw-r--r-- | src/mscorlib/src/System/Globalization/NumberStyles.cs | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/mscorlib/src/System/Globalization/NumberStyles.cs b/src/mscorlib/src/System/Globalization/NumberStyles.cs deleted file mode 100644 index 969c07fc2a..0000000000 --- a/src/mscorlib/src/System/Globalization/NumberStyles.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -/*============================================================ -** -** -** -** Purpose: Contains valid formats for Numbers recognized by -** the Number class' parsing code. -** -** -===========================================================*/ -namespace System.Globalization { - - using System; - [Serializable] - [Flags] - public enum NumberStyles { - // Bit flag indicating that leading whitespace is allowed. Character values - // 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, and 0x0020 are considered to be - // whitespace. - - None = 0x00000000, - - AllowLeadingWhite = 0x00000001, - - AllowTrailingWhite = 0x00000002, //Bitflag indicating trailing whitespace is allowed. - - AllowLeadingSign = 0x00000004, //Can the number start with a sign char. - //Specified by NumberFormatInfo.PositiveSign and NumberFormatInfo.NegativeSign - - AllowTrailingSign = 0x00000008, //Allow the number to end with a sign char - - AllowParentheses = 0x00000010, //Allow the number to be enclosed in parens - - AllowDecimalPoint = 0x00000020, //Allow a decimal point - - AllowThousands = 0x00000040, //Allow thousands separators (more properly, allow group separators) - - AllowExponent = 0x00000080, //Allow an exponent - - AllowCurrencySymbol = 0x00000100, //Allow a currency symbol. - - AllowHexSpecifier = 0x00000200, //Allow specifiying hexadecimal. - //Common uses. These represent some of the most common combinations of these flags. - - - Integer = AllowLeadingWhite | AllowTrailingWhite | AllowLeadingSign, - - HexNumber = AllowLeadingWhite | AllowTrailingWhite | AllowHexSpecifier, - - Number = AllowLeadingWhite | AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign | - AllowDecimalPoint | AllowThousands, - - Float = AllowLeadingWhite | AllowTrailingWhite | AllowLeadingSign | - AllowDecimalPoint | AllowExponent, - - Currency = AllowLeadingWhite | AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign | - AllowParentheses | AllowDecimalPoint | AllowThousands | AllowCurrencySymbol, - - Any = AllowLeadingWhite | AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign | - AllowParentheses | AllowDecimalPoint | AllowThousands | AllowCurrencySymbol | AllowExponent, - - } -} |