summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0453-2.cs
blob: 01daa0d7f2980d021a83485283d7646b48bfc157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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>'
// Line: 10
public class Foo
{ }

class X
{
	static void Main ()
	{
		Foo? foo = new Foo ();
	}
}