diff options
author | Tarek Mahmoud Sayed <tarekms@microsoft.com> | 2017-02-28 18:51:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 18:51:12 -0800 |
commit | a2c684d4094d00c715d67238cf4f4650248d4ded (patch) | |
tree | ab47d3ce3b437bd143ee186efc53b1948419f614 /src/utilcode | |
parent | 5c51806139f11d22e5ec6e4862ca3764c69f5fbf (diff) | |
download | coreclr-a2c684d4094d00c715d67238cf4f4650248d4ded.tar.gz coreclr-a2c684d4094d00c715d67238cf4f4650248d4ded.tar.bz2 coreclr-a2c684d4094d00c715d67238cf4f4650248d4ded.zip |
Globalization merge (#9835)
* Merging the Globalization code in coreclr
This change is merging the globalization code used for Linux and Windows. here Is come notes about this merge:
- Mainly picked most of the code from the corefx folder as it is well formatted and cleaned up before and then tweaked the implementation to work on Windows
- Tries to reduce the dependencies from Globalization code on the VM. this will give flexibility to work on the code without worrying the VM
- Provided the missing implementation as I removed many internal calls to the VM. This also help in having .Net Native have complete implementation for .net standard 2.0
- We may need to have some small tweaks when merging this globalization code to corert
- We'll need to do some clean up for the code which not used anymore in the VM
* Fix ifdef's
* Fix field name in linux build
* Fix field name in linux compilation
* Misc cleanup & return randomized hashing
* Fix missing method for Linux
* one more minor fix
* Fix Linux build
Diffstat (limited to 'src/utilcode')
-rw-r--r-- | src/utilcode/newapis.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utilcode/newapis.cpp b/src/utilcode/newapis.cpp index 599197c944..e7d4b9f08b 100644 --- a/src/utilcode/newapis.cpp +++ b/src/utilcode/newapis.cpp @@ -182,9 +182,6 @@ namespace NewApis GetLocaleInfoEx (__in LPCWSTR lpLocaleName, __in LCTYPE LCType, __out_ecount_opt(cchData) LPWSTR lpLCData, __in int cchData) { _ASSERTE((lpLCData == NULL && cchData == 0) || (lpLCData != NULL && cchData > 0)); - // ComNlsInfo::nativeInitCultureData calls GetLocaleInfoEx with LcType LOCALE_SNAME - // to determine if this is a valid culture. We shouldn't assert in this case, but - // all others we should. _ASSERTE(LCType == LOCALE_SNAME || NotLeakingFrameworkOnlyCultures(lpLocaleName)); int retVal; |