[mono] Fix StackTrace from a dim and Vtable offsets for static interface method ...
authorThays Grazia <thaystg@gmail.com>
Thu, 2 Dec 2021 16:22:41 +0000 (13:22 -0300)
committerGitHub <noreply@github.com>
Thu, 2 Dec 2021 16:22:41 +0000 (13:22 -0300)
commit5789792167571c4121ef1d397e4678ba360c77b3
treee585bf02915062b5f46498ffe5f110a76c431aa2
parent252b7c22276032dc00de497a27468439b12ea511
[mono] Fix StackTrace from a dim and Vtable offsets for static interface method (#60770)

* Fix mono_get_generic_context_from_stack_frame when it's from a dim.

* Using @vargaz fix

* Fixing test case source name

* Fix behavior when the interface had static interface methods.

* Fixing test cases.
src/mono/mono/metadata/object.c
src/mono/mono/mini/mini-exceptions.c
src/tests/Loader/classloader/DefaultInterfaceMethods/regressions/github60486.cs [new file with mode: 0644]
src/tests/Loader/classloader/DefaultInterfaceMethods/regressions/github60486.csproj [new file with mode: 0644]