1 // Test for custom attributes on a 'undefined' type parameter index
\r
3 .assembly extern mscorlib
\r
6 .assembly 'err-gen-cattr-3'
\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-3.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 /* Type parameter index is 1-based */
\r
34 .custom instance void GenParAttribute::.ctor() = ( 01 00 00 00 )
\r
36 .method public hidebysig specialname rtspecialname
\r
37 instance void .ctor() cil managed
\r
41 IL_0001: call instance void [mscorlib]System.Object::.ctor()
\r