Imported Upstream version 5.10.0.78

Former-commit-id: 46737382176d7b811604042c613d5df6eef74f33
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-31 19:21:06 +00:00
parent b7cd5de421
commit 6db692b74b
55 changed files with 740 additions and 362 deletions

13
mcs/errors/cs8346.cs Normal file
View File

@ -0,0 +1,13 @@
// CS8346: Cannot convert a stackalloc expression of type `byte' to type `System.Span<int>'
// Line: 11
// Compiler options: -langversion:7.2
using System;
class X
{
public static void Main ()
{
Span<int> stackSpan = stackalloc byte[1];
}
}