private static void S1Foo([IsReadOnly][In] ref S1 s)
    {
        S1 s2 = s;

        s2.ChangeA(2);
    }