T
Tunga Torgal
Hi,
I'm getting an System.TypeLoadException with this type def:
[StructLayout(LayoutKind.Explicit, CharSet=CharSet.Ansi)]
public struct SCFEDBTxnItem
{
[FieldOffset(0)] public SCFEDBTxnItemHeader sHeader;
[FieldOffset(0)] public SCFEDBTxnOrderItem sOrder;
[FieldOffset(0)] public SCFEDBTxnTradeItem sTrade;
[FieldOffset(0)] public SCFEDBTxnErrorItem sError;
[FieldOffset(0)] public SCFEDBTxnRequestItem sRequest;
}
So, what is the problem?
I'm getting an System.TypeLoadException with this type def:
[StructLayout(LayoutKind.Explicit, CharSet=CharSet.Ansi)]
public struct SCFEDBTxnItem
{
[FieldOffset(0)] public SCFEDBTxnItemHeader sHeader;
[FieldOffset(0)] public SCFEDBTxnOrderItem sOrder;
[FieldOffset(0)] public SCFEDBTxnTradeItem sTrade;
[FieldOffset(0)] public SCFEDBTxnErrorItem sError;
[FieldOffset(0)] public SCFEDBTxnRequestItem sRequest;
}
So, what is the problem?