For purposes of implementing this paragraph in the situation of a charitable contribution of stock within an S Company, regulations just like The principles of segment 751 shall apply in analyzing whether or not gain on this kind of stock might have been long-phrase capital obtain if these types of inventory had been offered because of the taxpayer