public void StructMarshalling()
    {
        var defaultMarshalling = new StructWithMarshal();

        defaultMarshalling.I[1] = 6;

        var staticMarshalling = new StructWithStaticMarshal();

        staticMarshalling.I[1] = 10;

        NativeFunctions.StructMarshalling(defaultMarshalling, staticMarshalling, out var defaultOut, out var staticOut);

        Assert.Equal(defaultMarshalling.I[1], defaultOut.I[1]);
        Assert.Equal(staticMarshalling.I[1], staticOut.I[1]);
    }
 internal static void __MarshalFrom(ref StructWithStaticMarshal @this, ref StructWithStaticMarshal.__Native @ref)
 {
     @this.__MarshalFrom(ref @ref);
 }