PageRenderTime 25ms CodeModel.GetById 22ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/Test/Resources/il/methodspecs.il

http://github.com/jbevain/cecil
SKILL | 43 lines | 36 code | 7 blank | 0 comment | 0 complexity | 2578838b4fe5e3fc1a84f079ebb75605 MD5 | raw file
 1
 2.assembly extern mscorlib
 3{
 4  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
 5  .ver 2:0:0:0
 6}
 7
 8.assembly MethodSpecs
 9{
10}
11
12.module MethodSpecs.dll
13
14.class private auto ansi beforefieldinit Tamtam
15       extends [mscorlib]System.Object
16{
17  .method private hidebysig static void  Foo<TFoo>(!!TFoo tf) cil managed
18  {
19    // Code size       1 (0x1)
20    .maxstack  8
21    IL_0000:  ret
22  } // end of method Tamtam::Foo
23
24  .method private hidebysig static void  Bar() cil managed
25  {
26    // Code size       7 (0x7)
27    .maxstack  8
28    IL_0000:  ldc.i4.2
29    IL_0001:  call       void Tamtam::Foo<int32>(!!0)
30    IL_0006:  ret
31  } // end of method Tamtam::Bar
32
33  .method public hidebysig specialname rtspecialname
34          instance void  .ctor() cil managed
35  {
36    // Code size       7 (0x7)
37    .maxstack  8
38    IL_0000:  ldarg.0
39    IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
40    IL_0006:  ret
41  } // end of method Tamtam::.ctor
42
43} // end of class Tamtam