summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0703-3.cs
blob: 72e78e16ffd352e992516942c3a572f2ad76b378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0703: Inconsistent accessibility: constraint type `C.I' is less accessible than `C.Foo<T>()'
// Line: 10

public class C
{
	interface I
	{
	}

	public void Foo<T>()  where T : I
	{
	}
}