2 using System
.Collections
;
3 using System
.Collections
.Generic
;
12 static void Foo (TypeDefinition type
)
14 var res
= from MethodDefinition meth
in type
.Methods
23 static class Extension
25 public static IEnumerable
<T
> Cast
<T
> (this IFoo i
)
31 public class MethodDefinition
35 public class TypeDefinition
37 public MethodDefinitionCollection Methods { get { return null; }
set {} }
40 public class MethodDefinitionCollection
: CollectionBase