[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs7055-2.cs
1 // CS7055: Unmanaged type `ByValArray' is only valid for fields
2 // Line: 10
3
4 using System;
5 using System.Runtime.InteropServices;
6
7 public class main {
8
9     [DllImport("libname", EntryPoint = "scumbag")]
10     static extern int scumbag(ref int X, [MarshalAs(UnmanagedType.ByValArray)] ref byte[] fb);
11 }