[interp] Fix enum constrained calls on netcore (#18659)
commit9ea350ed3c963c77f0f4f77ec590cc3c84773424
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 3 Feb 2020 11:08:15 +0000 (3 06:08 -0500)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 11:08:15 +0000 (3 03:08 -0800)
treec36d97ff1a7d852be4872af6e0f811835136515c
parent20a641e4a091eec56e6d5ad8db608ff85f3ef29f
[interp] Fix enum constrained calls on netcore (#18659)

We were failing to dereference a managed pointer to the enum, due to incorrect checks, when doing a constrained call.

Fixes https://github.com/mono/mono/issues/18530

Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
mono/mini/interp/transform.c