From: Rolf Bjarne Kvinge Date: Wed, 21 Dec 2016 10:42:20 +0000 (+0100) Subject: [test] DynamicMethod isn't available on iOS. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=5948e157e85b2510ef4805ac844039cc24f3da1e [test] DynamicMethod isn't available on iOS. --- 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) {