Tokens that reference generated assembly members not populated properly #107658
Labels
area-System.Reflection.Emit
in-pr
There is an active PR which will close this issue when it is merged
Milestone
Steps for repro:
B references a MethodBuilderImpl in A. The module scopename refers to the correct filename, but Name says
"<In Memory Module>"
. When emitted, it strangely emits the static constructor of the class I am calling from in B.This scenario works correctly on .NET 2/4. And if I rememebr correctly it even allows for cyclic references where A and B can both reference each other.
Originally posted by @leppie in #92975 (comment)
The text was updated successfully, but these errors were encountered: