[netcore] Remove IsByRef check on Reflection.Emit.DynamicMethod
authorSteve Pfister <steveisok@users.noreply.github.com>
Tue, 2 Jul 2019 01:12:06 +0000 (21:12 -0400)
committerGitHub <noreply@github.com>
Tue, 2 Jul 2019 01:12:06 +0000 (21:12 -0400)
commit5afb3cad3a5d842b24b8065a0a83c20493a17fdb
tree030af6fa7dd475c4f8a58918cd0ba540b38549ca
parente3e7d910fd9c927a5104b3623d1538d3b9438fd0
[netcore] Remove IsByRef check on Reflection.Emit.DynamicMethod

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

Removed check on the return type being by ref.

Commit migrated from https://github.com/mono/mono/commit/d39c84d45f20fac4884ca5e4a3074f1518e8ca8b
src/mono/netcore/CoreFX.issues.rsp
src/mono/netcore/System.Private.CoreLib/src/System.Reflection.Emit/DynamicMethod.cs