projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[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
}