Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / errors / cs0246-30.cs
1 // CS0246: The type or namespace name `T' could not be found. Are you missing an assembly reference?
2 // Line: 13
3
4 using System;
5 using System.Collections.Generic;
6
7 class X
8 {
9         public static void Main ()
10         {
11                 Foo (() => {
12                         IEnumerable<object> f = null;
13                         foreach (KeyValuePair<int, T> e in f) {
14                         }
15                 });
16
17         }
18
19         static void Foo (Action a)
20         {
21         }
22 }