-Changed JObject to enumerate over KeyValuePair<string, JToken> rather than JToken. Breaking change.

This commit is contained in:
JamesNK
2009-04-27 08:49:08 +00:00
parent 6e205383c7
commit 52f8657106
5 changed files with 68 additions and 16 deletions
+1 -7
View File
@@ -738,13 +738,7 @@ namespace Newtonsoft.Json.Linq
}
#endregion
/// <summary>
/// Returns an enumerator that iterates through a collection.
/// </summary>
/// <returns>
/// An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
/// </returns>
public IEnumerator GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
{
return ((IEnumerable<JToken>)this).GetEnumerator();
}