Closed
Description
Similar to #12842 except for the following struct:
[StructLayout(LayoutKind.Explicit)]
ref struct RefStruct
{
[FieldOffset(0)]
public short X;
[FieldOffset(2)]
ref int Y;
}
We should not allow this to load.
Similar to #12842 except for the following struct:
[StructLayout(LayoutKind.Explicit)]
ref struct RefStruct
{
[FieldOffset(0)]
public short X;
[FieldOffset(2)]
ref int Y;
}
We should not allow this to load.