[test] DynamicMethod isn't available on iOS.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 21 Dec 2016 10:42:20 +0000 (11:42 +0100)
committerRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 21 Dec 2016 10:44:10 +0000 (11:44 +0100)
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs

index 55585026da30f3635fb4f58654c1e51791f30869..03060f93c5ba069b0ea57273ad78ed73669db90e 100644 (file)
@@ -293,6 +293,7 @@ namespace MonoTests.System.Linq.Expressions {
                        Assert.AreEqual ("foo42", lamda (42, "foo"));
                }
 
+#if !MONOTOUCH
                [Test]
                public void CallDynamicMethod_ToString ()
                {
@@ -322,6 +323,7 @@ namespace MonoTests.System.Linq.Expressions {
                        var lambda = Expression.Lambda<Func<int, int>> (e, i).Compile ();
                        Assert.AreEqual (42, lambda (42));
                }
+#endif
 
                public static int Bang (Expression i)
                {