Files
linux-packaging-mono/mcs/errors/cs0233.cs

15 lines
309 B
C#
Raw Normal View History

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