flush
[mcs.git] / ilasm / tests / test-sn-module.il
blobade7cfe3cdab64aea387570e8c59268ed5d33d2a
1 // TEST #1
2 // 1. Assemble module (with signing)
3 // ilasm /dll /key=sn.snk test-sn-module.il
4 //
5 // 2. Verify strongname signature
6 // sn -v test-sn-module.dll
7 //
8 // Unable to load assembly: test-sn-module.dll
10 .assembly extern mscorlib {}
12 .class private auto ansi beforefieldinit Program extends [mscorlib]System.Object {
13         .method private hidebysig static void Main() cil managed {
14                 .entrypoint
15                 .maxstack  8
16                 ldstr      "Hello Mono!"
17                 call       void [mscorlib]System.Console::WriteLine(string)
18                 ret
19         }