[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0642-10.cs
blob78d1b389362ca202014017be1c4f9e070babdba7
1 // CS0642: Possible mistaken empty statement
2 // Line: 9
3 // Compiler options: -warnaserror -warn:3 -unsafe -nowarn:0219
5 public class C
7 public unsafe void Test ()
9 fixed (char *p = str);
10 { }
13 static readonly char [] str = new char [] {'A'};