linux-packaging-mono/mcs/ilasm/tests/test-sn-module.il
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
510 B
Plaintext

// TEST #1
// 1. Assemble module (with signing)
// ilasm /dll /key=sn.snk test-sn-module.il
//
// 2. Verify strongname signature
// sn -v test-sn-module.dll
//
// Unable to load assembly: test-sn-module.dll
.assembly extern mscorlib {}
.class private auto ansi beforefieldinit Program extends [mscorlib]System.Object {
.method private hidebysig static void Main() cil managed {
.entrypoint
.maxstack 8
ldstr "Hello Mono!"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
}