From 5948e157e85b2510ef4805ac844039cc24f3da1e Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 21 Dec 2016 11:42:20 +0100 Subject: [PATCH] [test] DynamicMethod isn't available on iOS. --- .../System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs b/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs index 55585026da3..03060f93c5b 100644 --- a/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs +++ b/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs @@ -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> (e, i).Compile (); Assert.AreEqual (42, lambda (42)); } +#endif public static int Bang (Expression i) { -- 2.11.4.GIT