Skip to content

Commit 75c4e9e

Browse files
authored
Merge pull request mono#4186 from rolfbjarne/dynamic-method-ios-4.8.0
[test] DynamicMethod isn't available on iOS.
2 parents 991a517 + 28aec73 commit 75c4e9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ public void CallStaticMethodWithRefParameterAndOtherParameter ()
296296
Assert.AreEqual ("foo42", lamda (42, "foo"));
297297
}
298298

299+
#if !FULL_AOT_RUNTIME
299300
[Test]
300301
public void CallDynamicMethod_ToString ()
301302
{
@@ -325,6 +326,7 @@ public void CallDynamicMethod_CompileInvoke ()
325326
var lambda = Expression.Lambda<Func<int, int>> (e, i).Compile ();
326327
Assert.AreEqual (42, lambda (42));
327328
}
329+
#endif
328330

329331
public static int Bang (Expression i)
330332
{

0 commit comments

Comments
 (0)