Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

14
mcs/errors/cs8327.cs Normal file
View File

@@ -0,0 +1,14 @@
// CS8327: The ref conditional expression types `int' and `byte' have to match
// Line: 12
class Program
{
static int x;
static byte y;
public static void Main ()
{
bool b = false;
ref int targetBucket = ref b ? ref x : ref y;
}
}