[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / gtest-lambda-33.cs
1 // Compiler options: -warnaserror
2
3 using System;
4 using System.Collections.Generic;
5 using System.Linq;
6
7 public enum SomeEnum
8 {
9         A = 1,
10         B = 2,
11 }
12
13 public class EnumSwitch
14 {
15         public object SomeFunction<T> (SomeEnum endRole, object parent, IQueryable<T> input)
16         {
17                 switch (endRole) {
18                 case SomeEnum.A:
19                         return input.Where (i => i != null);
20                 default:
21                         throw new NotImplementedException ();
22                 }
23         }
24
25         public static void Main ()
26         {
27         }
28 }