public object[] GetCustomAttributes(CType type, bool inherit)
 {
     return(internalInfo.GetCustomAttributes(type, inherit));
 }
 public bool Equals(CType other)
 {
     return(internalType.Equals(other.internalType));
 }
 public static object[] GetCustomAttribute(this Type type, CType attributeType, bool inherit)
 {
     return(type.GetCType().GetCustomAttributes(attributeType, inherit));
 }
 public bool IsDefined(CType type, bool inherit)
 {
     return(internalInfo.IsDefined(type, inherit));
 }
 public static PropertyInfo GetProperty(this Type type, string name, CType returnType, CType[] types, ParameterModifier[] modifiers)
 {
     return(type.GetCType().GetProperty(name, returnType, types, modifiers));
 }
 public static PropertyInfo GetProperty(this Type type, string name, BindingFlags bindingAttr, Binder binder, CType returnType, CType[] types, ParameterModifier[] modifiers)
 {
     return(type.GetCType().GetProperty(name, bindingAttr, binder, returnType, types, modifiers));
 }
 public static ConstructorInfo GetConstructor(this CType ctype, Type[] types)
 {
     return(ctype.GetConstructor(MakeTypeArray(types)));
 }
 public static PropertyInfo GetProperty(this Type type, string name, CType returnType, CType[] types)
 {
     return(type.GetCType().GetProperty(name, returnType, types));
 }
 public static string AssemblyFullName(this CType ctype)
 {
     return(((Type)ctype).AssemblyFullName());
 }
 public static Version AssemblyVersion(this CType ctype)
 {
     return(((Type)ctype).AssemblyVersion());
 }
 public static TypeCode GetTypeCode(this CType ctype)
 {
     return(CType.GetTypeCode(ctype));
 }
 public static bool IsRestricted(this CType ctype)
 {
     return(false);
 }
 public static CType GetCType(this CType ctype)
 {
     return(ctype);
 }
 public static Type MakeArrayType(this CType type, int rank)
 {
     return(Array.CreateInstance(type, new int[rank]).GetType());
 }
 public static Type MakeArrayType(this CType type)
 {
     return(Array.CreateInstance(type, 0).GetType());
 }