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 a 2.0 network stack for MONOTOUCH
[mcs.git]
/
errors
/
cs0233.cs
blob
fa05fe95a63025fd3027fd518482d31d2c0bf4d4
1
// cs0233.cs: `MainClass.S' does not have a predefined size, therefore sizeof can only be used in an unsafe context (consider using System.Runtime.InteropServices.Marshal.SizeOf)
2
// Line: 10
3
4
public class
MainClass
{
5
struct
S
6
{
7
}
8
9
static int
Main
() {
10
return sizeof
(
S
);
11
}
12
}
13
14