summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs b/src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs
deleted file mode 100644
index 249457f0c1..0000000000
--- a/src/System.Private.CoreLib/src/System/Text/CodePageDataItem.Unix.cs
+++ /dev/null
@@ -1,68 +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.
-
-namespace System.Text
-{
- internal class CodePageDataItem
- {
- private readonly int _codePage;
- private readonly int _uiFamilyCodePage;
- private readonly string _webName;
- private readonly uint _flags;
- private string _displayNameResourceKey;
-
- internal CodePageDataItem(int codePage, int uiFamilyCodePage, string webName, uint flags)
- {
- _codePage = codePage;
- _uiFamilyCodePage = uiFamilyCodePage;
- _webName = webName;
- _flags = flags;
- }
-
- public int CodePage
- {
- get { return _codePage; }
- }
-
- public int UIFamilyCodePage
- {
- get { return _uiFamilyCodePage; }
- }
-
- public String WebName
- {
- get { return _webName; }
- }
-
- public String HeaderName
- {
- get { return _webName; } // all the code pages used on unix only have a single name
- }
-
- public String BodyName
- {
- get { return _webName; } // all the code pages used on unix only have a single name
- }
-
- public uint Flags
- {
- get { return _flags; }
- }
-
- // PAL ends here
-
- public string DisplayNameResourceKey
- {
- get
- {
- if (_displayNameResourceKey == null)
- {
- _displayNameResourceKey = "Globalization_cp_" + CodePage;
- }
-
- return _displayNameResourceKey;
- }
- }
- }
-}