[jit] Avoid calling mono_marshal_get_native_wrapper () too early, it needs to be...
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 30 Jul 2020 14:05:02 +0000 (10:05 -0400)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 14:05:02 +0000 (10:05 -0400)
commit3bef7cba80180a70c8b29875aa42dbd3f4d5080c
treea64d196872da45d58701c827d965a0b67d1cad87
parentb7f809d7e37f8dade15fc6aa588565d3f0ee20a6
[jit] Avoid calling mono_marshal_get_native_wrapper () too early, it needs to be called when the pinvoke method is first called. (#40063)

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/mini/method-to-ir.c