rendered paste bodypoupou@pollux:~/src/bugzilla> cat ex.cs
using System;
class Program {
static int Main ()
{
return 42;
}
}
poupou@pollux:~/src/bugzilla> mcs ex.cs
poupou@pollux:~/src/bugzilla> monodis ex.exe
.assembly extern mscorlib
{
.ver 1:0:5000:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
}
.assembly 'ex'
{
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.module ex.exe // GUID = {914965BF-F89F-415A-9805-6EE3FE3D0BF4}
.class private auto ansi beforefieldinit Program
extends [mscorlib]System.Object
{
// method line 1
.method public hidebysig specialname rtspecialname
instance default void .ctor () cil managed
{
// Method begins at RVA 0x20ec
// Code size 7 (0x7)
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void object::.ctor()
IL_0006: ret
} // end of method Program::.ctor
// method line 2
.method private static hidebysig
default int32 Main () cil managed
{
// Method begins at RVA 0x20f4
.entrypoint
// Code size 3 (0x3)
.maxstack 8
IL_0000: ldc.i4.s 0x2a
IL_0002: ret
} // end of method Program::Main
} // end of class Program