diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-03-27 21:39:11 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-03-27 21:39:11 +0400 |
commit | 33ab4bee8e165e330c6abd3385bb09357afd892a (patch) | |
tree | 7515ab171a26ef3e6eb0a1c9de8d4df5a15d400e /mcs/ilasm/errors/err-gen-3.il | |
parent | a2109761ebb6d50e387002b45c0afdeade073faa (diff) | |
parent | 009188af4bc10445c44724d8bb9f2f467e8fcc53 (diff) |
pull from trunk (2 of 2)mono-1-1-13-6
svn path=/branches/mono-1-1-13/mcs/; revision=58604
Diffstat (limited to 'mcs/ilasm/errors/err-gen-3.il')
-rw-r--r-- | mcs/ilasm/errors/err-gen-3.il | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mcs/ilasm/errors/err-gen-3.il b/mcs/ilasm/errors/err-gen-3.il new file mode 100644 index 00000000000..5837d3a955f --- /dev/null +++ b/mcs/ilasm/errors/err-gen-3.il @@ -0,0 +1,42 @@ +//Error: Invalid type parameter 'A' (!A) + +.assembly extern mscorlib +{ + .ver 2:0:0:0 +} +.assembly 'gen-2' +{ + .ver 0:0:0:0 +} +.module 'gen-2.dll' + + .class private auto ansi beforefieldinit g`1<T> + extends [mscorlib]System.Object + { + + .method public hidebysig specialname rtspecialname + instance default void .ctor () cil managed + { + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::.ctor() + IL_0006: ret + } + + .method public static hidebysig + default void foo<M> () cil managed + { + .maxstack 8 + IL_0000: ret + } + + .method private hidebysig + instance default void abc <A> () cil managed + { + .maxstack 8 + IL_0000: call void class g`1<int32>::foo<!A> () + IL_0005: ret + } + + } + |