/// <summary> /// Check if a type is related to Row or Rowset. Check if type is subtype of /// rowishType, is it a collection of rowishType, a pointer to a rowishType, /// a generic instantiated by a rowishType, etc. /// </summary> /// <param name="type"></param> /// <param name="rowishType"></param> /// <param name="host"></param> /// <returns></returns> public bool PossiblyRow(ITypeReference type, ITypeDefinition rowishType, IMetadataHost host) { if (type.IsEnum || type.IsValueType) { return(false); } if (type.IncludesType(rowishType, host)) { return(true); } return(false); }