1 //Tests generic method reference
\r
3 .assembly extern mscorlib
\r
12 .class private auto ansi beforefieldinit 'A`1'<T>
\r
13 extends [mscorlib]System.Object
\r
15 .method public hidebysig static !T foo<X,Y>(!T _t,
\r
19 .locals init (!T V_0)
\r
23 IL_0003: br.s IL_0005
\r
29 .method public hidebysig specialname rtspecialname
\r
30 instance void .ctor() cil managed
\r
34 IL_0001: call instance void [mscorlib]System.Object::.ctor()
\r
40 .class private auto ansi beforefieldinit 'B`1'<U>
\r
41 extends [mscorlib]System.Object
\r
43 .method public hidebysig static void bar<Z>() cil managed
\r
45 // Code size 18 (0x12)
\r
47 .locals init (!U V_0)
\r
49 IL_0001: ldloca.s V_0
\r
53 IL_000b: call !0 class 'A`1'<!U>::foo<int32,!U>(!0,
\r
57 } // end of method B`1::bar
\r
59 .method public hidebysig specialname rtspecialname
\r
60 instance void .ctor() cil managed
\r
62 // Code size 7 (0x7)
\r
65 IL_0001: call instance void [mscorlib]System.Object::.ctor()
\r
67 } // end of method B`1::.ctor
\r