Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0233.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44f424e5b2605879f93095433cb70ab34ae1e2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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);
        }
}