1 // Test for type/method having type parameters with identical names
3 // Roundtrip with ilasm2/monodis should yield same
4 // meth <A,A, B> (!!0 _a1, !!1 _a2, !1 _t, !!B _b)
6 .assembly extern mscorlib
10 .assembly 'ambiguous-gen-params'
12 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = (
13 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
14 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
18 .module 'ambiguous-gen-params.dll'
21 .class private auto ansi beforefieldinit g`1<T, T>
22 extends [mscorlib]System.Object
25 .method public hidebysig specialname rtspecialname
26 instance default void .ctor () cil managed
30 IL_0001: call instance void object::.ctor()
34 .method public static hidebysig
35 default void meth <A,A, B> (!!0 _a1, !!1 _a2, !1 _t, !!B _b) cil managed
40 .method public static hidebysig
41 default !!A foo<A,B> (!!B _b, !1 _t, !!A _a) cil managed