blob: 8724c3fe1384d895cb4d850a8b6d3ff01d3c399c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
//
// Mono.ILASM.Tests
//
// Author(s):
// Jackson Harper (Jackson@LatitudeGeo.com)
//
// (C) 2003 Jackson Harper, All rights reserved
//
.assembly extern corlib { }
//
// Define a method and execute that method
//
.namespace Mono.ILASM.Tests {
.class public auto ansi Test_3 extends [corlib]System.Object {
.method public static void check( ) cil managed {
.entrypoint
.maxstack 1
call void Mono.ILASM.Tests.Test_3::print_hello()
ret
}
.method private static void print_hello() cil managed {
ldstr "PASS"
call void [corlib]System.Console::WriteLine(string)
}
}
}
|