summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0452-5.cs
blob: 19b3a09791c6268f9dbb9a87f2ab74c79d616ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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>'
// Line: 10

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

class A
{
	public A (ref C<int> args)
	{
	}
}