Imported Upstream version 5.10.0.71

Former-commit-id: 65f7f4344e4c1c5e42628faefa5b9d36955387d1
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-30 19:19:26 +00:00
parent e2950ec768
commit b7cd5de421
44 changed files with 251 additions and 169 deletions

13
mcs/errors/cs1644-59.cs Normal file
View File

@@ -0,0 +1,13 @@
// CS1644: Feature `readonly references' cannot be used because it is not part of the C# 7.0 language specification
// Line: 9
// Compiler options: -langversion:7
class X
{
int i;
ref readonly int Test ()
{
return ref i;
}
}