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

using System;
using System.Collections.Generic;

class X
{
	public static void Main ()
	{
		Foo (() => {
			IEnumerable<object> f = null;
			foreach (KeyValuePair<int, T> e in f) {
			}
		});

	}

	static void Foo (Action a)
	{
	}
}