1 // Test for custom attributes on a 'undefined' method type parameter index
\r
3 .assembly extern mscorlib
\r
6 .assembly 'err-gen-cattr-4'
\r
8 .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
\r
9 .hash algorithm 0x00008004
\r
12 .module 'err-gen-cattr-4.exe'
\r
14 .class private auto ansi beforefieldinit GenParAttribute
\r
15 extends [mscorlib]System.Attribute
\r
17 .custom instance void [mscorlib]System.AttributeUsageAttribute::.ctor(valuetype [mscorlib]System.AttributeTargets) = ( 01 00 00 40 00 00 00 00 )
\r
18 .method public hidebysig specialname rtspecialname
\r
19 instance void .ctor() cil managed
\r
23 IL_0001: call instance void [mscorlib]System.Attribute::.ctor()
\r
29 .class private auto ansi beforefieldinit cons`1<A>
\r
30 extends [mscorlib]System.Object
\r
32 .method public hidebysig instance void
\r
33 abc<M>() cil managed
\r
35 /* Type parameter index is 1-based */
\r
37 .custom instance void GenParAttribute::.ctor() = ( 01 00 00 00 )
\r
44 .method public hidebysig specialname rtspecialname
\r
45 instance void .ctor() cil managed
\r
49 IL_0001: call instance void [mscorlib]System.Object::.ctor()
\r