 This default rule has several exceptions, called "nonrecognition" rules, which are scattered throughout the Code.These exceptions often apply in situations in which a taxpayer shifts his investment from one piece of property to another piece of property.In such cases, where the taxpayer is merely continuing his investment, it makes sense to defer the recognition of any gain or loss realized until the taxpayer truly ends the investment.