[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs0208-8.cs
blobdfd642495bcc78493289010f72cb03be06bdf09b
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `_Port'
2 // Line: 16
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;
12 unsafe class d {
13 static void Main ()
15 _Port * port = null;