[release/9.0-staging] [mono][mini] Disable inlining if we encounter class initialization failure by github-actions[bot] · Pull Request #112005 · dotnet/runtime

@BrzVlad

…ilure

method_make_alwaysthrow_typeloadfailure replaces the entire method code with a throw of type load exception. This behaviour not only seem dubious, if it is triggered from inlining a method, that might never even get called, but it also does changes to the set of basic blocks that can lead to crashes later on during compilation.

This was referenced

Jan 30, 2025

steveisok

@steveisok

@steveisok steveisok deleted the backport/pr-111754-to-release/9.0-staging branch

February 21, 2025 13:49