//
// (C) 2003 Jackson Harper, All rights reserved
//
-.assembly extern mscorlib { }
-.assembly HelloWorld { }
-.module HelloWorld.exe
+.assembly extern corlib { }
+
+//
+// Define a method and execute that method
+//
.namespace Mono.ILASM.Tests {
- .class public auto ansi Test_3 extends [mscorlib]System.Object {
+ .class public auto ansi Test_3 extends [corlib]System.Object {
.method public static void check( ) cil managed {
.entrypoint
.maxstack 1
- call void Test_3::print_hello()
+ call void Mono.ILASM.Tests.Test_3::print_hello()
ret
}
.method private static void print_hello() cil managed {
- ldstr "Hello, World!"
+ ldstr "PASS"
call void [corlib]System.Console::WriteLine(string)
}