Reputation: 4481
Is it possible to copy top stack item and push it back? I only know about solution with using of helper local variable like this:
stloc.n
ldloc.n
ldloc.n
Are IL instructions for copying stack items exist? Is it possible to avoid using of helper local variable?
Upvotes: 1
Views: 162