internal static bool IsApplyOrCall(IdFunctionObject f) { if (f.HasTag(FUNCTION_TAG)) { switch (f.MethodId()) { case Id_apply: case Id_call: { return true; } } } return false; }