20-6-5. Debtor entitled to benefits when performance prevented by creditor. If the performance of an obligation be prevented by the creditor, the debtor is entitled to all the benefits, which he would have obtained, if it had been performed by both parties.
Source: CivC 1877, § 856; CL 1887, § 3480; RCivC 1903, § 1174; RC 1919, § 781; SDC 1939, § 47.0230.