bool IsTypeInterestingForDataflow(TypeReference typeReference) { if (typeReference.MetadataType == MetadataType.String) { return(true); } TypeDefinition type = _context.TryResolveTypeDefinition(typeReference); return(type != null && ( _hierarchyInfo.IsSystemType(type) || _hierarchyInfo.IsSystemReflectionIReflect(type))); }
bool IsTypeInterestingForDataflow(TypeReference typeReference) { return(typeReference.MetadataType == MetadataType.String || _hierarchyInfo.IsSystemType(typeReference) || _hierarchyInfo.IsSystemReflectionIReflect(typeReference)); }