1 // Compiler options: -unsafe
4 using System
.Runtime
.InteropServices
;
6 [StructLayout (LayoutKind
.Auto
, CharSet
= CharSet
.Auto
)]
9 public unsafe fixed byte o
[6];
14 public static int Main ()
17 var sa
= t
.StructLayoutAttribute
;
18 if (sa
.Value
!= LayoutKind
.Auto
)
21 if (sa
.CharSet
!= CharSet
.Auto
)
30 t
= t
.GetNestedTypes ()[0];
31 sa
= t
.StructLayoutAttribute
;
32 if (sa
.Value
!= LayoutKind
.Sequential
)
35 if (sa
.CharSet
!= CharSet
.Auto
)