Enable TextInfo APIs for netstandard 1.7 on Linux (#7568)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 12 Oct 2016 16:29:55 +0000 (09:29 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Oct 2016 16:29:55 +0000 (09:29 -0700)
commitadc6c44c252315200533c3d4dd71cefd261d612c
tree3a332b42387ba2b2c911f4f5d0587dd33d4d18e0
parenta351d0ced8aaaa6ef18f526efde5b6e90e7c6555
Enable TextInfo APIs for netstandard 1.7 on Linux (#7568)

* Enable TextInfo APIs for netstandard 1.7 on Linux

The change here is to enable the newly added netstandard 1.7 TextInfo APIs on Linux.

- moved the locale specific data to its own file Locale.Unic.cs
- added needed data to handle the TextInfo properties (e.g. codepages)
- created some helper methods in LocaleData classto handle accessing the locale data
- added the implementation for added APIs

* Fix some typos
src/mscorlib/corefx/System/Globalization/CultureData.Unix.cs
src/mscorlib/corefx/System/Globalization/CultureData.Windows.cs
src/mscorlib/corefx/System/Globalization/CultureData.cs
src/mscorlib/corefx/System/Globalization/LocaleData.Unix.cs [new file with mode: 0644]
src/mscorlib/corefx/System/Globalization/STUBS.cs
src/mscorlib/corefx/System/Globalization/TextInfo.cs
src/mscorlib/mscorlib.shared.sources.props