[mono] Fix second pass of MarshallingPInvokeScanner with metadata-free DLLs (#89555)
authorJan Dupej <109523496+jandupej@users.noreply.github.com>
Fri, 28 Jul 2023 09:24:36 +0000 (11:24 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2023 09:24:36 +0000 (11:24 +0200)
commit1da23b146496d95f017439a48f62e78ec15b0289
tree1c6ca41d54068af79a9ae1bf664019762b882356
parent862cf1aa9f8ba7677c35327e6ee5e6cd2cfe1708
[mono] Fix second pass of MarshallingPInvokeScanner with metadata-free DLLs (#89555)

* Fix second pass of marshalling scanner to also tolerate metadata-free PEs.

* Assembly name is now checked only when metadata are present.
src/tasks/MonoTargetsTasks/MarshalingPInvokeScanner/MarshalingPInvokeScanner.cs