-Readded .NET 4, SL4, WP7, Win8 portable library
-Disable SL library build
This commit is contained in:
@@ -718,7 +718,7 @@ keyword such as type of business.""
|
||||
Assert.AreEqual(new DateTime(2000, 10, 15, 5, 5, 5, DateTimeKind.Utc), d);
|
||||
}
|
||||
|
||||
#if !(NET20 || NET35 || SILVERLIGHT)
|
||||
#if !(NET20 || NET35 || SILVERLIGHT || PORTABLE40)
|
||||
[Test]
|
||||
public void CovariantIJEnumerable()
|
||||
{
|
||||
@@ -733,6 +733,19 @@ keyword such as type of business.""
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !NET20
|
||||
[Test]
|
||||
public void LinqCast()
|
||||
{
|
||||
JToken olist = JArray.Parse("[12,55]");
|
||||
|
||||
List<int> list1 = olist.AsEnumerable().Values<int>().ToList();
|
||||
|
||||
Assert.AreEqual(12, list1[0]);
|
||||
Assert.AreEqual(55, list1[1]);
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
public void ChildrenExtension()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user