diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-05-17 06:28:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 06:28:51 -0700 |
commit | cbeb928cb05982edc71ed8ab80ef13d7f142cffa (patch) | |
tree | e178e91d1a91cce78d604ad40a6380dee380cb7f /src/vm/baseassemblyspec.inl | |
parent | c55319243ed42f8bdcb940d69f03a9c6554cc1d4 (diff) | |
download | coreclr-cbeb928cb05982edc71ed8ab80ef13d7f142cffa.tar.gz coreclr-cbeb928cb05982edc71ed8ab80ef13d7f142cffa.tar.bz2 coreclr-cbeb928cb05982edc71ed8ab80ef13d7f142cffa.zip |
Delete unnecessary locale arguments (#24624)
Everything in the runtime should use Invariant culture. It is not necessary to pass the locale arguments around.
Diffstat (limited to 'src/vm/baseassemblyspec.inl')
-rw-r--r-- | src/vm/baseassemblyspec.inl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vm/baseassemblyspec.inl b/src/vm/baseassemblyspec.inl index 9f9bae32cb..468d604ff3 100644 --- a/src/vm/baseassemblyspec.inl +++ b/src/vm/baseassemblyspec.inl @@ -15,8 +15,6 @@ #ifndef __BASE_ASSEMBLY_SPEC_INL__ #define __BASE_ASSEMBLY_SPEC_INL__ -extern LocaleID g_lcid; - BOOL AreSameBinderInstance(ICLRPrivBinder *pBinderA, ICLRPrivBinder *pBinderB); inline int BaseAssemblySpec::CompareStrings(LPCUTF8 string1, LPCUTF8 string2) @@ -26,7 +24,7 @@ inline int BaseAssemblySpec::CompareStrings(LPCUTF8 string1, LPCUTF8 string2) SString s2; s1.SetUTF8(string1); s2.SetUTF8(string2); - return s1.CompareCaseInsensitive(s2,g_lcid); + return s1.CompareCaseInsensitive(s2); } |