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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0233.cs
blob
c98d7c68fb8cc9325f515ca30882d26645c40361
1
// CS0233: `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