Reduce TLS accesses. (#11487)
[mono-project.git] / mono / tests / module-cctor.il
blob38854d97d25512ba4d31635ff2e6d4b38f73e98e
1 .assembly TestDll { }
2 .assembly extern mscorlib { }
4 .method assembly specialname rtspecialname static 
5         void  .cctor() cil managed
7         ldc.i4 1
8         stsfld int32 NS.TestClass::TestField
9         ldstr "Module contructor executed"
10         call void [mscorlib]System.Console::WriteLine(string)
11         ret
14 .namespace NS
16         .class public TestClass extends [mscorlib]System.Object
17         {
18                 .field public static int32 TestField
19         
20                 .method public static void  TestMethod() cil managed
21                 {
22                   ldstr "TestMethod executed"
23                   call void [mscorlib]System.Console::WriteLine(string)
24                   ret
25                 }
26                 .method public static void  Main() cil managed
27                 {
28                   .entrypoint
29                   ret
30                 }
31         }