do not check order sequence if option /order was not used
[mono.git] / mcs / tests / gtest-linq-13.cs
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4 using System.Linq;
5
6 class Program {
7
8         static void Main ()
9         {
10         }
11
12         static void Foo (TypeDefinition type)
13         {
14                 var res = from MethodDefinition meth in type.Methods
15                                         select meth;
16         }
17 }
18
19 interface IFoo
20 {
21 }
22
23 static class Extension
24 {
25         public static IEnumerable<T> Cast<T> (this IFoo i)
26         {
27                 return null;
28         }
29 }
30
31 public class MethodDefinition
32 {
33 }
34
35 public class TypeDefinition
36 {
37         public MethodDefinitionCollection Methods { get { return null; } set {} }
38 }
39
40 public class MethodDefinitionCollection : CollectionBase 
41 {
42 }