[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0453-2.cs
blob01daa0d7f2980d021a83485283d7646b48bfc157
1 // CS0453: The type `Foo' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `System.Nullable<T>'
2 // Line: 10
3 public class Foo
4 { }
6 class X
8 static void Main ()
10 Foo? foo = new Foo ();