Skip to content
Snippets Groups Projects
Commit 910ad088 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

Merge pull request #3106 from jtattermusch/culture_invariant

make ToLower culture invariant
parents 1029e704 5414df30
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ using System; ...@@ -33,6 +33,7 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Specialized; using System.Collections.Specialized;
using System.Globalization;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
...@@ -320,7 +321,7 @@ namespace Grpc.Core ...@@ -320,7 +321,7 @@ namespace Grpc.Core
private static string NormalizeKey(string key) private static string NormalizeKey(string key)
{ {
return Preconditions.CheckNotNull(key, "key").ToLower(); return Preconditions.CheckNotNull(key, "key").ToLower(CultureInfo.InvariantCulture);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment