2014-09-04 09:07:35 +01:00
|
|
|
// CS7055: Unmanaged type `ByValArray' is only valid for fields
|
2014-08-13 10:39:27 +01:00
|
|
|
// Line: 10
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
public class main {
|
|
|
|
|
|
|
|
[DllImport("libname", EntryPoint = "scumbag")]
|
|
|
|
static extern int scumbag(ref int X, [MarshalAs(UnmanagedType.ByValArray)] ref byte[] fb);
|
|
|
|
}
|