diff options
Diffstat (limited to 'src/ProtocolBuffers/TextTokenizer.cs')
-rw-r--r-- | src/ProtocolBuffers/TextTokenizer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/TextTokenizer.cs b/src/ProtocolBuffers/TextTokenizer.cs index 90774bc2..5bb27fd0 100644 --- a/src/ProtocolBuffers/TextTokenizer.cs +++ b/src/ProtocolBuffers/TextTokenizer.cs @@ -338,7 +338,7 @@ namespace Google.ProtocolBuffers NextToken();
return negative ? double.NegativeInfinity : double.PositiveInfinity;
}
- if (currentToken.Equals("nan", StringComparison.InvariantCultureIgnoreCase))
+ if (currentToken.Equals("nan", StringComparison.OrdinalIgnoreCase))
{
NextToken();
return Double.NaN;
|