Example #1
0
    public static int test_1_entry_delegate_unbox()
    {
        var s = new InterpOnlyStruct()
        {
            Field = 1
        };

        if (s.get_Field() != 1)
        {
            return(2);
        }
        Func <int> func = s.get_Field;

        return(func());
    }