-Fixed comparing JObjects to ignore property order

This commit is contained in:
James Newton-King
2012-04-09 16:20:42 +12:00
parent 13fe57bd44
commit 2e1211f689
8 changed files with 102 additions and 20 deletions
+4
View File
@@ -208,7 +208,9 @@ namespace Newtonsoft.Json.Linq
yield break;
for (JToken o = Next; o != null; o = o.Next)
{
yield return o;
}
}
/// <summary>
@@ -218,7 +220,9 @@ namespace Newtonsoft.Json.Linq
public IEnumerable<JToken> BeforeSelf()
{
for (JToken o = Parent.First; o != this; o = o.Next)
{
yield return o;
}
}
/// <summary>