Imported Upstream version 4.4.0.122

Former-commit-id: a99f46acaeba3ab496c7afc02c29b839e30a0d0b
This commit is contained in:
Xamarin Public Jenkins
2016-04-12 13:19:31 -04:00
parent a632333cc7
commit d444f0caa4
118 changed files with 4121 additions and 1632 deletions

View File

@@ -0,0 +1,17 @@
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Explicit, Size = 8)]
public struct Cs0842ExpressionBodyGetterBug
{
[FieldOffset(0)]
public int DummyVariable;
public int MyGetter => 5;
}
class C
{
public static void Main ()
{
}
}

View File

@@ -29,6 +29,11 @@ public class MainClass
public static event Action Act = null;
public static dynamic BBB = null;
void ParameterTest (Person ParPerson)
{
Console.WriteLine (nameof (ParPerson.MyCar.Year));
}
public static int Main ()
{
string name;
@@ -61,6 +66,11 @@ public class MainClass
if (name != "ToString")
return 7;
Person LocPerson = null;
name = nameof (LocPerson.MyCar.Year);
if (name != "Year")
return 8;
return 0;
}
}

View File

@@ -1 +1 @@
55a55a8ce00b5f19846f2a4e0df099c17d0799cd
de9fea39fc570d60a08eeeba6e5eef06352b9197