projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
cs0636.cs
1
// CS0636: The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)
2
// Line: 10
3
4
using System;
5
using System.Runtime.InteropServices;
6
7
namespace cs0636 {
8
struct GValue {
9
public string name;
10
[ FieldOffset (4) ] public int value;
11
}
12
13
class Tests {
14
public static void Main () {
15
}
16
}
17
}