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

View File

@@ -0,0 +1,39 @@
//Test for call to a method returning a byref
.assembly extern mscorlib
{
}
.assembly 'test-byref'
{
}
.class public auto ansi beforefieldinit Test
extends [mscorlib]System.Object
{
.field private float64[,] _data
.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 hidebysig
instance default void multByTwo () cil managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: ldfld float64[,] Test::_data
IL_0006: ldc.i4.0
IL_0007: ldc.i4.0
IL_0008: call instance float64& float64[,]::Address(int32, int32)
IL_000d: dup
IL_000e: ldind.r8
IL_000f: ldc.r8 4
IL_0018: mul
IL_0019: stind.r8
IL_001a: ret
}
}