[release/8.0] Fix type parameter mapping logic in ILLink/ILCompiler (#92139)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sat, 16 Sep 2023 21:05:12 +0000 (14:05 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Sep 2023 21:05:12 +0000 (14:05 -0700)
commit01751138fedd6ab8a3092edcd9dde0e6aee8c1c1
tree4c49348782ef4016f29c1c7868d2613f34f3532b
parentc7252a392eee592c98ca509790fb3ed32407317e
[release/8.0] Fix type parameter mapping logic in ILLink/ILCompiler (#92139)

* Fix type parameter mapping bug in illink

* Same in ILCompiler

* Check dataflow of mapped type parameter

* Fix test for analyzer

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Dataflow/CompilerGeneratedState.cs
src/tools/illink/src/linker/Linker.Dataflow/CompilerGeneratedState.cs
src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/CompilerGeneratedTypes.cs