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
Remove debugging code from generated code
[mono-project.git]
/
mcs
/
errors
/
cs0255.cs
blob
16a3533c35f5827999001dc9179f15a37f6d00e3
1
// cs0255.cs: 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
}