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?
Did you look at
OpCodes.Dup, it duplicates the top stack item?