示例#1
0
 public static bool HasUnboundTypeArguments(Type type)
 {
     if (type.IsGenericType)
     {
         foreach (Type type1 in PlatformTypeHelper.GetGenericTypeArguments(type))
         {
             if (type1.IsGenericParameter || PlatformTypeHelper.HasUnboundTypeArguments(type1))
             {
                 return(true);
             }
         }
     }
     return(false);
 }