When marshalling a layout class, fall-back to dynamically marshalling the type if...
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Wed, 24 Mar 2021 23:42:59 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 23:42:59 +0000 (16:42 -0700)
commitacd80580e768441efb2108bddec7fc3f03b6e747
treed9624147ad267b433b14300ebcce39a74b6c3243
parentdcbd83225b1ed3e89ff02eb369be9238c62a928a
When marshalling a layout class, fall-back to dynamically marshalling the type if it doesn't match the static type in the signature. (#50137)
src/coreclr/vm/corelib.h
src/coreclr/vm/ilmarshalers.cpp
src/coreclr/vm/ilmarshalers.h
src/coreclr/vm/metasig.h
src/coreclr/vm/mlinfo.cpp
src/tests/Interop/LayoutClass/LayoutClassNative.cpp
src/tests/Interop/LayoutClass/LayoutClassTest.cs