private static bool CanCoerce(List<CseObject> args) {
if (args == null)
return false;
bool foundIntType = false;
bool canCoerce = false;
for (int i = 0; i < args.Count; i++) {
CseObject arg = args[i];
if (LiteralExp.IsIntType(arg)) {
if (!foundIntType) {
canCoerce = true;
foundIntType = true;
}
else {
canCoerce = false;
break;
}
}
}
return canCoerce;
}