version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

public static int TestConversions()
{
    int intValue = 42;
    long longValue = intValue; 
    short shortValue = (short)intValue; 
    return (int)(longValue + shortValue);
}

Hello Admin, I finally find out minimal code to reproduce this problem.
Release configuration.

Fixed in the 2023 build.

i also want to request a new build here since i run into some .Net bugs in build 2001.
thx :slight_smile:

Done.