diff options
Diffstat (limited to 'src/mscorlib/src/System/Globalization/EncodingDataItem.Unix.cs')
-rw-r--r-- | src/mscorlib/src/System/Globalization/EncodingDataItem.Unix.cs | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Globalization/EncodingDataItem.Unix.cs b/src/mscorlib/src/System/Globalization/EncodingDataItem.Unix.cs new file mode 100644 index 0000000000..80c859b9fa --- /dev/null +++ b/src/mscorlib/src/System/Globalization/EncodingDataItem.Unix.cs @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace System.Globalization { + using System.Text; + using System.Runtime.Remoting; + using System; + using System.Security; + + [Serializable] + internal class CodePageDataItem + { + [SecurityCritical] + unsafe internal CodePageDataItem() { + // TODO: Implement this fully. + } + + unsafe public String WebName { + [System.Security.SecuritySafeCritical] // auto-generated + get { + // TODO: Implement this fully. + return "utf-8"; + } + } + + public virtual int UIFamilyCodePage { + get { + // TODO: Implement this fully. + return 1200; + } + } + + unsafe public String HeaderName { + [System.Security.SecuritySafeCritical] // auto-generated + get { + // TODO: Implement this fully. + return "utf-8"; + } + } + + unsafe public String BodyName { + [System.Security.SecuritySafeCritical] // auto-generated + get { + // TODO: Implement this fully. + return "utf-8"; + } + } + + unsafe public uint Flags { + get { + // TODO: Implement this fully. + return 771; + } + } + + // PAL ends here + } +} |