Work in progress:
-Silverlight build projects -JObject now implements IDictionary, JArray now implements IList
This commit is contained in:
@@ -29,7 +29,6 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Newtonsoft.Json.Tests.Linq
|
||||
{
|
||||
@@ -64,9 +63,6 @@ namespace Newtonsoft.Json.Tests.Linq
|
||||
|
||||
Assert.AreEqual(v, o["Test1"]);
|
||||
|
||||
XText t = new XText("XText");
|
||||
Assert.AreEqual(null, t.Parent);
|
||||
|
||||
Assert.AreEqual(null, o.Parent);
|
||||
JProperty o1 = new JProperty("O1", o);
|
||||
Assert.AreEqual(o, o1.Value);
|
||||
|
||||
@@ -447,7 +447,7 @@ keyword such as type of business.""
|
||||
//}
|
||||
|
||||
var postTitles =
|
||||
from p in rss["channel"]["item"].Children()
|
||||
from p in rss["channel"]["item"]
|
||||
select p.Value<string>("title");
|
||||
|
||||
foreach (var item in postTitles)
|
||||
|
||||
Reference in New Issue
Block a user