public void EnsureLocal(LocalBuilder bldr) { if (this.storage.LocalLocation != bldr) { // Push value onto stack and then save to bldr EnsureStack(); this.helper.Emit(OpCodes.Stloc, bldr); this.storage = this.storage.ToLocal(bldr); } }