-Removed unused utility methods

-Fixed various code warnings
This commit is contained in:
JamesNK
2012-01-17 11:22:16 +00:00
parent 2941344044
commit 61db48c01d
29 changed files with 59 additions and 1131 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ namespace Newtonsoft.Json
case JsonToken.StartConstructor:
string constructorName = reader.Value.ToString();
// write a JValue date when the constructor is for a date
if (string.Compare(constructorName, "Date", StringComparison.Ordinal) == 0)
if (string.Equals(constructorName, "Date", StringComparison.Ordinal))
WriteConstructorDate(reader);
else
WriteStartConstructor(reader.Value.ToString());