Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0255.cs
blob1168f79dace87c7b69310f78dc622a1e546a77fa
1 // CS0255: Cannot use stackalloc in finally or catch
2 // Line: 12
3 // Compiler options: -unsafe
5 unsafe class X {
7 static void Main ()
9 try {
10 } catch {
11 char *ptr = stackalloc char [10];