diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2016-12-27 16:46:08 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2016-12-27 16:46:08 +0900 |
commit | db20f3f1bb8595633a7e16c8900fd401a453a6b5 (patch) | |
tree | e5435159cd1bf0519276363a6fe1663d1721bed3 /src/mscorlib/corefx/System/Globalization/HebrewNumber.cs | |
parent | 4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (diff) | |
download | coreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.tar.gz coreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.tar.bz2 coreclr-db20f3f1bb8595633a7e16c8900fd401a453a6b5.zip |
Imported Upstream version 1.0.0.9127upstream/1.0.0.9127
Diffstat (limited to 'src/mscorlib/corefx/System/Globalization/HebrewNumber.cs')
-rw-r--r-- | src/mscorlib/corefx/System/Globalization/HebrewNumber.cs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mscorlib/corefx/System/Globalization/HebrewNumber.cs b/src/mscorlib/corefx/System/Globalization/HebrewNumber.cs index 8fc264b788..01e251d9e8 100644 --- a/src/mscorlib/corefx/System/Globalization/HebrewNumber.cs +++ b/src/mscorlib/corefx/System/Globalization/HebrewNumber.cs @@ -2,18 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System; using System.Text; using System.Diagnostics; -using System.Diagnostics.Contracts; namespace System.Globalization { - -#if INSIDE_CLR - using Debug = BCLDebug; -#endif - //////////////////////////////////////////////////////////////////////////// // // Used in HebrewNumber.ParseByChar to maintain the context information ( @@ -110,7 +103,7 @@ namespace System.Globalization Number -= 5000; } - Contract.Assert(Number > 0 && Number <= 999, "Number is out of range."); ; + Debug.Assert(Number > 0 && Number <= 999, "Number is out of range."); ; // // Get the Hundreds. @@ -335,7 +328,7 @@ namespace System.Globalization // // The state machine for Hebrew number pasing. // - private readonly static HS[] s_numberPasingState = + private static readonly HS[] s_numberPasingState = { // 400 300/200 100 90~10 8~1 6, 7, 9, ' " /* 0 */ |