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
2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
gcs0842.cs
blob
b23aa7e6481eae3b61544a50ce9cc7886aca11ac
1
// CS0842: Automatically implemented property `S.Value' cannot be used inside a type with an explicit StructLayout attribute
2
// Line: 10
3
4
using
System
.
Runtime
.
InteropServices
;
5
6
[
StructLayout
(
LayoutKind
.
Explicit
)]
7
class
S
8
{
9
public int
Value
{
10
get
;
set
;
11
}
12
}