Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

39
mcs/ilasm/tests/global.il Normal file
View File

@@ -0,0 +1,39 @@
//Tests global generic methods
.assembly extern mscorlib
{
.ver 2:0:0:0
}
.assembly ca
{
.ver 0:0:0:0
}
.module ca.dll
//Global Method
.method public hidebysig static void foo<A,B>() cil managed
{
.maxstack 8
IL_0000: ret
}
.class private auto ansi beforefieldinit abc`1<Z>
extends [mscorlib]System.Object
{
.method public hidebysig specialname rtspecialname
instance void .ctor() cil managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
}
.method public hidebysig static void bar() cil managed
{
.maxstack 8
IL_0000: call void foo<!Z,string>()
IL_0005: ret
}
}