summaryrefslogtreecommitdiff
path: root/src/mscorlib/corefx/System/Globalization/DigitShapes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/corefx/System/Globalization/DigitShapes.cs')
-rw-r--r--src/mscorlib/corefx/System/Globalization/DigitShapes.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mscorlib/corefx/System/Globalization/DigitShapes.cs b/src/mscorlib/corefx/System/Globalization/DigitShapes.cs
new file mode 100644
index 0000000000..7e40033a2f
--- /dev/null
+++ b/src/mscorlib/corefx/System/Globalization/DigitShapes.cs
@@ -0,0 +1,17 @@
+// 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.
+
+//
+// The enumeration constants used in NumberFormatInfo.DigitSubstitution.
+//
+namespace System.Globalization
+{
+ [Serializable]
+ public enum DigitShapes : int
+ {
+ Context = 0x0000, // The shape depends on the previous text in the same output.
+ None = 0x0001, // Gives full Unicode compatibility.
+ NativeNational = 0x0002 // National shapes
+ }
+} \ No newline at end of file