repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0637.cs
blob
cbca67d4ab4607a490365a43780ff887a2739e14
1
// CS0637: 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 static int value
=
3
;
11
}