[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs0247.cs
blob1acaf6151dd0088f2919bc0b9944345ec7aabf91
1 // CS0247: Cannot use a negative size with stackalloc
2 // Line: 7
3 // Compiler options: -unsafe
5 public class MainClass {
6 static unsafe void Main () {
7 int* ptr = stackalloc int[-1];