1 // CS7055: Unmanaged type `ByValArray' is only valid for 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
);