California Revenue and Taxation Code Section 24902
CA Rev & Tax Code § 24902 (2017)
Except as otherwise provided in this part, on the sale or exchange of property the entire amount of the gain or loss, determined under Section 24901, shall be recognized.