[NativeAOT] DiagnosticMethodInfo.Create(Delegate)
does not work with closed delegates over instance methods on value types
#108688
Labels
area-NativeAOT-coreclr
bug
in-pr
There is an active PR which will close this issue when it is merged
Milestone
Reproduction (compile, publish, run):
Expected result:
Actual result:
The problem is that code here may pass an unboxing thunk address to the stack trace logic, which the latter doesn't understand - stack trace data records only unboxed entrypoints.
It probably makes sense to normalize the entrypoints on this path to their unboxed form (the reflection-based lookup will understand both).
The text was updated successfully, but these errors were encountered: