-Code cleanup

This commit is contained in:
James Newton-King
2014-06-15 21:02:35 +12:00
parent c987b0509a
commit 6b08fbc2fa
10 changed files with 34 additions and 263 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ namespace Newtonsoft.Json
internal static string FormatMessage(IJsonLineInfo lineInfo, string path, string message)
{
// don't add a fullstop and space when message ends with a new line
if (!message.EndsWith(Environment.NewLine))
if (!message.EndsWith(Environment.NewLine, StringComparison.Ordinal))
{
message = message.Trim();