This method is trying to be clever to quickly replace one ad with another in a hashtable without changing the pointer in the collector. The closest thing new
ClassAds has is the assignment operator, which would be much slower. Why not remove the old ad from the hashtable and insert the new one?
Developer time: 1-2 hours to safely update callsite.
Progress: Callsites updated.