1 // cs0208-8.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `_Port'
3 // Compiler options: -unsafe
5 using System
.Runtime
.InteropServices
;
7 [StructLayout(LayoutKind
.Sequential
)]
8 internal unsafe struct _Port
{
9 [MarshalAs(UnmanagedType
.ByValTStr
, SizeConst
=128)] char[] port
;