1 | //created from ildasm of example.cs
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | .assembly extern /*23000001*/ mscorlib
|
---|
6 | {
|
---|
7 | .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
|
---|
8 | .ver 1:0:3300:0
|
---|
9 | }
|
---|
10 | .assembly /*20000001*/ example
|
---|
11 | {
|
---|
12 | // --- The following custom attribute is added automatically, do not uncomment -------
|
---|
13 | // .custom /*0C000001:0A000001*/ instance void [mscorlib/* 23000001 */]System.Diagnostics.DebuggableAttribute/* 01000002 */::.ctor(bool,
|
---|
14 | // bool) /* 0A000001 */ = ( 01 00 00 01 00 00 )
|
---|
15 | .hash algorithm 0x00008004
|
---|
16 | .ver 0:0:0:0
|
---|
17 | }
|
---|
18 | .module example.exe
|
---|
19 | // MVID: {641E4709-F7B6-4BB0-BC5D-49C2CF1F1CF8}
|
---|
20 | .imagebase 0x00400000
|
---|
21 | .subsystem 0x00000003
|
---|
22 | .file alignment 512
|
---|
23 | .corflags 0x00000001
|
---|
24 | // Image base: 0x03180000
|
---|
25 | //
|
---|
26 | // ============== CLASS STRUCTURE DECLARATION ==================
|
---|
27 | //
|
---|
28 | .class /*02000002*/ public auto ansi beforefieldinit Example
|
---|
29 | extends [mscorlib/* 23000001 */]System.Object/* 01000001 */
|
---|
30 | {
|
---|
31 | } // end of class Example
|
---|
32 |
|
---|
33 |
|
---|
34 | // =============================================================
|
---|
35 |
|
---|
36 |
|
---|
37 | // =============== GLOBAL FIELDS AND METHODS ===================
|
---|
38 |
|
---|
39 |
|
---|
40 | // =============================================================
|
---|
41 |
|
---|
42 |
|
---|
43 | // =============== CLASS MEMBERS DECLARATION ===================
|
---|
44 | // note that class flags, 'extends' and 'implements' clauses
|
---|
45 | // are provided here for information only
|
---|
46 |
|
---|
47 | .class /*02000002*/ public auto ansi beforefieldinit Example
|
---|
48 | extends [mscorlib/* 23000001 */]System.Object/* 01000001 */
|
---|
49 | {
|
---|
50 | .method /*06000001*/ public hidebysig static
|
---|
51 | void Main(string[] args) cil managed
|
---|
52 | // SIG: 00 01 01 1D 0E
|
---|
53 | {
|
---|
54 | .entrypoint
|
---|
55 | // Method begins at RVA 0x2050
|
---|
56 | // Code size 11 (0xb)
|
---|
57 | .maxstack 1
|
---|
58 | IL_0000: /* 72 | (70)000001 */ ldstr "hello, I look like Java, but I'm really .NET" /* 70000001 */
|
---|
59 | IL_0005: /* 28 | (0A)000002 */ call void [mscorlib/* 23000001 */]System.Console/* 01000003 */::WriteLine(string) /* 0A000002 */
|
---|
60 | IL_000a: /* 2A | */ ret
|
---|
61 | } // end of method Example::Main
|
---|
62 |
|
---|
63 | .method /*06000002*/ public hidebysig specialname rtspecialname
|
---|
64 | instance void .ctor() cil managed
|
---|
65 | // SIG: 20 00 01
|
---|
66 | {
|
---|
67 | // Method begins at RVA 0x2068
|
---|
68 | // Code size 7 (0x7)
|
---|
69 | .maxstack 1
|
---|
70 | IL_0000: /* 02 | */ ldarg.0
|
---|
71 | IL_0001: /* 28 | (0A)000003 */ call instance void [mscorlib/* 23000001 */]System.Object/* 01000001 */::.ctor() /* 0A000003 */
|
---|
72 | IL_0006: /* 2A | */ ret
|
---|
73 | } // end of method Example::.ctor
|
---|
74 |
|
---|
75 | } // end of class Example
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|