Task: Text Completion
Input (English): other non-Virginia cases offer a compelling basis for adopting the per se rule Allied has proposed. In National City Bank v. Fleming, 2 Ohio App.3d 50, 440 N.E.2d 590, 599 (1981), for instance, the court said: It has long been the law of equity that a person who confers a benefit either directly or indirectly upon another in the course of performance of a contract with a third person is not entitled to compensation ... merely because of the failure of performance by the third party. However, where it appears from all the facts that the conferral of such benefit was the product of fraud, misrepresentation or bad faith by the party accepting and retaining such benefit, equity will imply an obligation to make payment therefor. See Costanzo v. Stewart, 9 Ariz.App. 430, 453 P.2d 526 (1969) (<HOLDING>), (emphasis added) (some citations omitted). 
 Holding statements: (A) holding that a hospital could not be an erisa beneficiary (B) holding that the thirdparty beneficiary theory did not apply (C) holding that a duty may be owed to a beneficiary of a consensual relationship akin to that of a thirdparty beneficiary of a contract where the professional has actual knowledge that the services being provided are in part for the benefit of such third persons (D) holding that a contract beneficiary may be liable in restitution where the beneficiary by his conduct induces the conferral of the benefit (E) holding change of beneficiary effective where city employee listed a new beneficiary for his group life insurance policy in an employee personal data form next to the words designated beneficiary even though this did not comply with the policy terms
Output (English): (D)