projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
errors
/
cs0637-2.cs
1
// CS0636: The 'FieldOffset' attribute is not allowed on static or const fields
2
// Line: 10
3
4
using System;
5
using System.Runtime.InteropServices;
6
7
[StructLayout(LayoutKind.Explicit)]
8
struct GValue {
9
[FieldOffset (4)]
10
public const int value = 3;
11
}