Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-12-30 06:08:36 +0300
committerGitHub <noreply@github.com>2017-12-30 06:08:36 +0300
commit39a8b6ac9054e52b0f2aafb5294cacf27c7f59ca (patch)
tree4965a76e55fc90920ebe3c716c41418f9568571e /tests
parentab4222fba0dddecc122b3a5d0437b8c7b6bfee60 (diff)
Fix RhGetCodeTarget for Unix x64 (#5168)
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Simple/Reflection/Reflection.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/src/Simple/Reflection/Reflection.cs b/tests/src/Simple/Reflection/Reflection.cs
index f24a855a8..7f05486d6 100644
--- a/tests/src/Simple/Reflection/Reflection.cs
+++ b/tests/src/Simple/Reflection/Reflection.cs
@@ -358,14 +358,11 @@ internal class ReflectionTest
Type byRefLikeType = GetTestType(nameof(TestByRefLikeTypeMethod), nameof(ByRefLike));
MethodInfo toStringMethod = byRefLikeType.GetMethod("ToString");
- /*var toString = (ToStringDelegate)*/toStringMethod.CreateDelegate(typeof(ToStringDelegate));
+ var toString = (ToStringDelegate)toStringMethod.CreateDelegate(typeof(ToStringDelegate));
- // Doesn't work on Unix: https://github.com/dotnet/corert/issues/4379
-#if false
ByRefLike foo = new ByRefLike(123);
if (toString(ref foo) != "123")
throw new Exception();
-#endif
}
}