1 // Compiler options: -platform:anycpu
4 using System
.Reflection
;
8 public static int Main ()
10 PortableExecutableKinds pekind
;
11 ImageFileMachine machine
;
13 typeof (Program
).Module
.GetPEKind (out pekind
, out machine
);
15 if ((pekind
& PortableExecutableKinds
.ILOnly
) == 0)
18 if ((pekind
& PortableExecutableKinds
.Required32Bit
) != 0)
21 if (machine
!= ImageFileMachine
.I386
)