-Improved duplicate object reference id error message

This commit is contained in:
James Newton-King
2012-09-24 21:12:42 +12:00
parent 93679ec415
commit 0bf5f27f2f
9 changed files with 94 additions and 19 deletions
@@ -169,7 +169,7 @@ namespace Newtonsoft.Json.Converters
.FormatWith(CultureInfo.InvariantCulture, n2, t.Name));
}
map.Add(n1, n2);
map.Set(n1, n2);
}
_enumMemberNamesPerType[t] = map;