I run the same binary and it works in the older version of Windows 11 (as well as earlier versions of Windows), but it crashes during start-up on 22621.525. I have looked at the code (C#) and what causes it is setting something to Double.NaN. Setting it to an actual value makes the code work.
The call stack looks very innocent. Main() -> MainForm() -> InitializeComponent() -> MyControl() so it doesn't appear to be any recursion going on.
What changed in the new version?