[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0208-14.cs
bloba28400189d051abd4aad6e137b37a2084473ee7d
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'
2 // Line: 8
4 class X
6 public static void Foo<T> (T t)
8 object o = sizeof (T);