-Fixed potential inifinite loop when parsing unquoted value

-Added NuGet install.ps1
-Incremented version to 5.0.6
This commit is contained in:
James Newton-King
2013-06-01 14:18:20 +12:00
parent 1b63698c02
commit 13aa07f63e
9 changed files with 144 additions and 9 deletions
@@ -49,6 +49,17 @@ namespace Newtonsoft.Json.Tests.Linq
[TestFixture]
public class LinqToJsonTest : TestFixtureBase
{
[Test]
public void ForEach()
{
JArray items = new JArray(new JObject(new JProperty("name", "value!")));
foreach (JObject friend in items)
{
Console.WriteLine(friend);
}
}
[Test]
public void DoubleValue()
{