[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs7055-2.cs
blobf2c15a8d2253553a418fa2e6f583a7de287bf998
1 // CS7055: Unmanaged type `ByValArray' is only valid for fields
2 // Line: 10
4 using System;
5 using System.Runtime.InteropServices;
7 public class main {
9 [DllImport("libname", EntryPoint = "scumbag")]
10 static extern int scumbag(ref int X, [MarshalAs(UnmanagedType.ByValArray)] ref byte[] fb);