Files
mono/mcs/errors/cs0233.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

15 lines
312 B
C#

// 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)
// Line: 10
public class MainClass {
struct S
{
}
static int Main () {
return sizeof(S);
}
}