a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
36 lines
608 B
Plaintext
36 lines
608 B
Plaintext
//
|
|
// 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)
|
|
}
|
|
|
|
}
|
|
}
|
|
|