2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0233.cs
blobfa05fe95a63025fd3027fd518482d31d2c0bf4d4
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
4 public class MainClass {
5 struct S
9 static int Main () {
10 return sizeof(S);