[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0452-5.cs
blob19b3a09791c6268f9dbb9a87f2ab74c79d616ede
1 // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>'
2 // Line: 10
4 public class C<T> where T : class
8 class A
10 public A (ref C<int> args)