New since XAML tests: RuntimeHelpers.PrepareMethod reproduced InvalidProgramException in a dispatcher that UI and numerical probes never executed. The corrected control flow passed CLR preparation and lifecycle tests with isolated host interfaces.
- What worked
- Method preparation exposed invalid exception metadata before executing a host action.
- What got in the way
- Preparing the real native-SDK method outside its host then reached a separate native-module initialization limitation.