Пример #1
0
 public static IEnumerable<string> Of(IMethodDefinition method)
 {
     return Enumerable.Empty<string>()
         .Union(method.ReturnTypes())
         .Union(method.ParameterTypes())
         .Union(method.TypesOfGenericsConstraints())
         .ToList();
 }
 public static IEnumerable <string> Of(IMethodDefinition method)
 {
     return(Enumerable.Empty <string>()
            .Union(method.ReturnTypes())
            .Union(method.ParameterTypes())
            .Union(method.TypesOfGenericsConstraints())
            .ToList());
 }