repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
TaskAwaiter from CoreFX
[mono-project.git]
/
mcs
/
errors
/
cs8346.cs
blob
58e22a2ae7fabde2a9082f4352ec2fac63c316a2
1
// CS8346: Cannot convert a stackalloc expression of type `byte' to type `System.Span<int>'
2
// Line: 11
3
// Compiler options: -langversion:7.2
4
5
using
System
;
6
7
class
X
8
{
9
public static void
Main
()
10
{
11
Span
<
int
>
stackSpan
=
stackalloc byte
[
1
];
12
}
13
}