projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ChangeLog: Updated ChangeLog
[mono.git]
/
mcs
/
errors
/
cs0625-1.cs
1
// CS0625: Instance field of type marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
2
3
using System;
4
using System.Runtime.InteropServices;
5
6
namespace cs0625 {
7
[StructLayout(LayoutKind.Explicit)]
8
class GValue {
9
public int foo;
10
}
11
12
class Tests {
13
public static void Main () {
14
}
15
}
16
}