[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0411-10.cs
blobfe7f3ecfb958485371eeea6cb9aa3ef8b7b2f73b
1 // CS0411: The type arguments for method `C.Foo<T>(T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 14
3 // Compiler options: -unsafe
5 class C
7 static void Foo<T> (T t)
11 unsafe static void Test ()
13 int* i = null;
14 Foo (i);