summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0246-34.cs
blob: d86c3cdd991ff9d0b653d87102ed6371d33d57cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0246: The type or namespace name `wrong' could not be found. Are you missing an assembly reference?
// Line: 15

using System;

class X
{
	static void Foo<T> () where T : class
	{
	}

	public static void Main ()
	{
		Action a = () => {
			Foo<wrong> ();
		};
	}
}