Fix generation of type forwarders (#67570)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fri, 8 Apr 2022 05:25:34 +0000 (14:25 +0900)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 05:25:34 +0000 (22:25 -0700)
commit1a31bf638c6c220d20ef65f43a07a9ac562d92d9
treea4f2b3f223139588f7ca74734df6013f1cf846b2
parentc585bd7abd20d39f2c5bd08bca05b7f5280f1f26
Fix generation of type forwarders (#67570)

These need to be interned to account for nested forwarders. We were erroneously generating multiple containing forwarders whenever there's a nested one.
src/coreclr/tools/aot/ILCompiler.MetadataTransform/ILCompiler/Metadata/Transform.TypeForwarders.cs