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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0255.cs
blob
1168f79dace87c7b69310f78dc622a1e546a77fa
1
// CS0255: Cannot use stackalloc in finally or catch
2
// Line: 12
3
// Compiler options: -unsafe
4
5
unsafe class
X
{
6
7
static void
Main
()
8
{
9
try
{
10
}
catch
{
11
char
*
ptr
=
stackalloc char
[
10
];
12
}
13
}
14
}