public static bool IsCollection(this ITypeSignature type)
 {
     return(type.IsAssignableToRuntimeType(typeof(IEnumerable)) &&
            !type.IsAssignableToRuntimeType(typeof(string)));
 }