The assignment from an usual of type int to 'float?' results to an InvalidCastException. If the usual is a float it works without problems. ``` local x := 1 as usual local y := 1 as float? y := x ``` [XSharpTests.zip](https://github.com/user-attachments/files/22377732/XSharpTests.zip)