1 // cs0647-11.cs: Error during emitting `System.Runtime.InteropServices.MarshalAsAttribute' attribute. The reason is `Specified unmanaged type is only valid on fields'
5 using System
.Runtime
.InteropServices
;
9 [DllImport("libname", EntryPoint
= "scumbag")]
10 static extern int scumbag(ref int X
, [MarshalAs(UnmanagedType
.ByValArray
)] ref byte[] fb
);