Structure Definition
[StructLayout(LayoutKind.Sequential, Pack = Compile.PackSize)]
unsafe struct DB_PREPLIST
{
public TxnUnion txn;
public fixed byte gid[DbConst.DB_XIDDATASIZE];
}
Inaccessible error
Question
When I try to change the DB_PREPLIST
as public
I get another error:
Pointers and Fixed size buffers may only be used in an unsafe context