[Bug 59041] New: Incorrect Casting for NET 10 Runtime Apps