summaryrefslogtreecommitdiff
path: root/src/mscorlib/corefx/System/Globalization/HebrewNumber.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/corefx/System/Globalization/HebrewNumber.cs')
-rw-r--r--src/mscorlib/corefx/System/Globalization/HebrewNumber.cs11
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 */