diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-03-11 14:30:16 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-03-11 14:30:16 -0800 |
commit | 602eff7191b2f33a0200546fad74aaf19a4dd5f5 (patch) | |
tree | a64bdbaaf753a489ed8b29253fb64977d46995d4 | |
parent | fd1ffe420df02462403579c201c860a0522ea111 (diff) | |
parent | 762ed4368afa513ef468eac4cf16e4c91ff9b61a (diff) |
Merge pull request #5439 from chrisdunelm/coreclr_metadata2
Support for coreclr
-rw-r--r-- | src/csharp/Grpc.Core/Metadata.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Metadata.cs b/src/csharp/Grpc.Core/Metadata.cs index aa22f840d6..52cef96f40 100644 --- a/src/csharp/Grpc.Core/Metadata.cs +++ b/src/csharp/Grpc.Core/Metadata.cs @@ -323,7 +323,7 @@ namespace Grpc.Core private static string NormalizeKey(string key) { - var normalized = GrpcPreconditions.CheckNotNull(key, "key").ToLower(CultureInfo.InvariantCulture); + var normalized = GrpcPreconditions.CheckNotNull(key, "key").ToLowerInvariant(); GrpcPreconditions.CheckArgument(ValidKeyRegex.IsMatch(normalized), "Metadata entry key not valid. Keys can only contain lowercase alphanumeric characters, underscores and hyphens."); return normalized; |