repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use MOONLIGHT symbol
[mcs.git]
/
errors
/
cs0636-2.cs
blob
f49380a548804cd6f1d310807f45f417ffdc657a
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
class
GValue
{
9
[
FieldOffset
(
4
)]
10
public const int value
=
2
;
11
}
12
}