[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0306-2.cs
blob0101a64f81698b6e342fac99adeddb48e17f1881
1 // CS0306: The type `int*' may not be used as a type argument
2 // Line: 11
3 // Compiler options: -unsafe
5 using System.Linq;
7 public class C
9 public static unsafe void Main ()
11 var e = from int* a in "aaa"
12 select a;