From 8b2463b57cbd2d2cf1e2842e3b70660fc2187a02 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 1 Apr 2019 23:23:13 +0200 Subject: [PATCH] [netcore] Add exception for System.Text.Json tests --- netcore/excludes-System.Text.Json.Tests.rsp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 netcore/excludes-System.Text.Json.Tests.rsp diff --git a/netcore/excludes-System.Text.Json.Tests.rsp b/netcore/excludes-System.Text.Json.Tests.rsp new file mode 100644 index 00000000000..c55bfa12bb9 --- /dev/null +++ b/netcore/excludes-System.Text.Json.Tests.rsp @@ -0,0 +1,4 @@ +# JsonSerializer.Parse(...) generates invalid IL through DynamicMethod +# Mono throws "System.MemberAccessException: Cannot create an abstract class: System.Enum" from System.Reflection.Emit.DynamicMethod.CreateDelegate +# CoreCLR creates the delegate, but fails to execute it with "System.InvalidOperationException: Instances of abstract classes cannot be created." +-nomethod System.Text.Json.Serialization.Tests.ValueTests.ValueFail -- 2.11.4.GIT