summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0453-7.cs
blob: 1ad43f390ce3ea72756648ff53aa999c218e13e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>'
// Line: 10

public class C<T> where T : struct
{
}

class A
{
	public void Foo (C<string>[] args)
	{
	}
}